nodejs Error: Cannot find module ‘ejs‘

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


Read More: