Error display:
Error: _resolveFilename (module.js:325:15)
at function.module._load (module.js:276:25)
at require (module.js:353:17)
at require
at new View (d:\WebClient\webstormSpace\ day6shuomodules \express\lib\view.js:78:30)
at eventemet.render (d: \ WebClient \ webstormSpace \ day6shuoshuo \ node_modules \ express \ lib \ application js: 569:12)
the at ServerResponse. Render (d:\WebClient\webstormSpace\ day6shuomodules \lib\ respons.js :961:7)
at exports. ShowIndex (d:\WebClient\webstormSpace\ day6shuoroutes.js :7:9)
at Layer. Handle [as handle_request] (d:\WebClient\webstormSpace\ day6shuomodules \express\lib\router\ pace.js: 93:5)
at next (d:\WebClient\webstormSpace\day6shuoshuo\node_modules\express\lib\router\route.js:131:13)Reason: EjS module is not installed
Solutions:
CMD goes to the project directory and installs EJS: NPM install –save EJS
Error: _resolveFilename (module.js:325:15)
at function.module._load (module.js:276:25)
at require (module.js:353:17)
at require
at new View (d:\WebClient\webstormSpace\ day6shuomodules \express\lib\view.js:78:30)
at eventemet.render (d: \ WebClient \ webstormSpace \ day6shuoshuo \ node_modules \ express \ lib \ application js: 569:12)
the at ServerResponse. Render (d:\WebClient\webstormSpace\ day6shuomodules \lib\ respons.js :961:7)
at exports. ShowIndex (d:\WebClient\webstormSpace\ day6shuoroutes.js :7:9)
at Layer. Handle [as handle_request] (d:\WebClient\webstormSpace\ day6shuomodules \express\lib\router\ pace.js: 93:5)
at next (d:\WebClient\webstormSpace\day6shuoshuo\node_modules\express\lib\router\route.js:131:13)Reason: EjS module is not installed
Solutions:
CMD goes to the project directory and installs EJS: NPM install –save EJS
Read More:
- Crypto JS decrypts malformed UTF-8 data
- Node.js Cannot find module ‘mysql’ ‘express’
- Module parse failed:Unexpectedtoken (1:0)You may need an appropriate loader to handle this file type
- Error: Cannot find module ‘process-nextick-args’
- Some mistakes in using NPM
- Module build failed: Error: ENOENT: no such file or directory, scandir,‘node_modules\node-sass\vend’
- Error reported after moving or copying Vue items: cannot find module ‘xxx‘
- Vue router click the menu bar and the same module reports an error Vue router.esm.js? 2215:2065 Uncaught (in promise) Error
- Error: cannot find module HTTP errors
- NPM- Cannot find module ‘xxxxx’
- npm ERR! Error: CERT_ Untrusted problem solving
- npm run devstart error: Error: Unable to find module ‘semver’
- Error: Cannot find module’webpack/bin/config-yargs’ solution
- Module build failed: error: cannot find module ‘node sass’ error
- Miscellaneous Notes (2)
- Copy node causes NPM execution error: cannot find module ‘/ / lib / utils/ unsupported.js ‘
- JS error: require is not defined
- Solved – problem cannot find module ‘webpack / bin / config yargs’
- Start gzip in node environment of project optimization
- Error: listen eadrinuse::: 8000 solution