PS D:\LearningHeavy\Web project\blog> npm start> blog@0.0.0 start D:\LearningHeavy\Web project\blog> node ./bin/wwwD:\blog\node_modules\express\lib\application.js:295 throw new Error('callback function required'); ^Error: callback function required at EventEmitter.engine (D:\LearningHeavy\Web project\blog\node_modules\express\lib\application.js:295:11) at Object.<anonymous> (D:\LearningHeavy\Web project\blog\app.js:16:5) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object.<anonymous> (D:\LearningHeavy\Web project\blog\bin\www:7:11)npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! blog@0.0.0 start: `node ./bin/www`npm ERR! Exit status 1npm ERR!npm ERR! Failed at the blog@0.0.0 start script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:npm ERR! C:\Users\Voter\AppData\Roaming\npm-cache\_logs\2017-10-18T07_54_23_831Z-debug.log
添加回答
举报
0/150
提交
取消