Errors when trying to deploy on Render #4905
Replies: 1 comment 1 reply
-
Running
Using this, the following settings work for me on Render:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm struggling to get AdonisJS v6 to build and run on Render.
Build Command in Render
npm run build
Start Command in Render
npm run start
Package.json Scripts
I've tried a dozen different things, but in all scenarios I end up with one error or the other. The most common error is
I also run into scenarios where the server.js file is not in the build/bin folder.
I have a port env variable set to 0.0.0.0.
I also have NODE_ENV directly set to production, even though it should do it by default in Render.
I'm kind of lost at this point, and would appreciate any help that someone can offer. Has anyone else deployed to Render successfully?
Beta Was this translation helpful? Give feedback.
All reactions