Unable to run node app.js file

try npm start from testsite directory.

look at the package.json

scripts : { start : node bin/www }

So you must execute the www under the bin directory.

So instead of node app.js use node bin/www

Leave a Comment