Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to run npm in laravel app on app platform
I’ve got a laravel app running OK (in that the PHP returns the correct landing page and it connects to the DB).
However, when I log into the app platform console to run “npm run prod” in the views directory, I get:
npm: command not found
Can anyone help please?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×