Missing information on build process #4624
-
Hi! Is there something to be configured on the Failed to load url resources/js/app.js (resolved id: resources/js/app.js). Does the file exist? To reproduce the bug, just create a new Adonis app using the official pnpm build
cd build
pnpm i --prod
node bin/server.js Thanks a lot for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @samueldrai! 👋🏻 It seems you missed setting the NODE_ENV=production node bin/server.js |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer @RomainLanz ! |
Beta Was this translation helpful? Give feedback.
Hey @samueldrai! 👋🏻
It seems you missed setting the
NODE_ENV
value toproduction
.