Express Generator

Author: shaw12Created May 3, 2020Updated May 3, 2020

C:\nodeJS\node-express\shawServer>npm start

[email protected] start C:\nodeJS\node-express\shawServer node ./bin/www

internal/modules/cjs/loader.js:638 throw err; ^

Error: Cannot find module 'bodyParser' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:690:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (C:\nodeJS\node-express\shawServer\routes\promoRouter.js:2:20) at Module._compile (internal/modules/cjs/loader.js:776:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] start: node ./bin/www npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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\shouz\AppData\Roaming\npm-cache_logs\2020-05-03T12_10_15_827Z-debug.log

Source: node-inspector/node-inspector