I get errors in Railway that I don't get in my personal code
I am trying to run a program, but I get this error. When I run the code on my computer, I get no error
9 Replies
Not familiar with the language, but are you including every dependency needed in your requirements files?
yes
as I said
when I run the code on my computer
I get no error,
but when railway runs it
I get an error
Just because requirements are installed in your local machine doesn’t mean Railway is being told to install them
oh
I have a package.json though
Googled your issue, looks like forEach is a stock Javascript function. I was wrong about the requirements
ok
that’s odd, I don’t have a fix for you, sorry. I would just go through your normal troubleshooting steps but through Railway instead of locally
ah
I think I have found the issue!
the error was that the folder that the code was looking for had no file inside
railway had that as an error
while mine did not
Ah nice, glad you've found the fix