With express to initialize a project, why can npm start start the project nodepap.js can’t start it?

  node.js, question

Express-eborg created a project without adding any code. Why npm start can start the server to visit in the browser? if nodepap.js does not output any prompt, the console will stop. Please advise the difference between the two passwords.

After express moved to version 4.x, useexpress-generatorThere will be one in the projectbin/wwwFile, and the entry in package.jsonmainWhen configuring itemsbin/wwwYou can look at this websitehttp://wiki.jikexueyuan.com/project/express-guide/moving-express4.html