npm start stops before the buildind and don't give any error

Viewed 11

When I start my application through 'npm start' it starts building but it stops and doesn't show any error msg

I've left it runing for few hours but it doesn't build.

application not building

1 Answers

I think your node.js app is perfectly running. Try putting a console.log('Running!') in your javascript file, and run it again. If you see the log in the console, it means everything is working correctly.

Please note: npm start does't make a "build" of your app, it just runs it. To build you app for production you should use npm build.

Related