Crashed api
emersonsantos98
HOBBYOP
2 years ago
My api doesn't work in production on railway, but the same branch works locally and has no errors
14 Replies
2 years ago
Never use nodemon when running on Railway.
Make sure you have lodash installed.
emersonsantos98
HOBBYOP
2 years ago
What's the problem with nodemon?
emersonsantos98
HOBBYOP
2 years ago
I don't use this library (lodash)
emersonsantos98
HOBBYOP
2 years ago
Okay, I already made this change.
emersonsantos98
HOBBYOP
2 years ago
Now what is the need to use this "lodash" library in my project?
emersonsantos98
HOBBYOP
2 years ago
Okay
emersonsantos98
HOBBYOP
2 years ago
Will I have to refactor all my methods using this library just for my api to run?
emersonsantos98
HOBBYOP
2 years ago
Okay, friend
emersonsantos98
HOBBYOP
2 years ago
Is the installation alone enough to solve it?