I want to deploy my application Adonis5 js in CLEVER but when i deploy and inspect the logs, i see the server failed because he doesn't run build command (in my case node ace build --production) when the server start, it search the file server.js but it can't found it because the build command had not be run
Asked
Active
Viewed 172 times
0
-
How do you specify the command to build your project `ace build --production` ? – Gaël Reyrol Jan 18 '22 at 13:29
-
In package.json – heliosorphee Jan 19 '22 at 14:28
-
I mean on Clever Cloud. – Gaël Reyrol Jan 21 '22 at 08:17
-
Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Jan 27 '22 at 16:28
-
If the server can't find the build command then this answer might help https://stackoverflow.com/a/71742721/10735807 – Abdelrahman Abdelatief Apr 04 '22 at 19:28