[Example] : Error: Cannot find module 'ejs'
See original GitHub issueI’m trying to run the commands for the example provided in the repository. However, when I use npm or yarn, I get the following error. Any thoughts on what might be causing this issue? Thank you
λ yarn docs
yarn run v1.12.3
warning package.json: No license field
$ jsdoc -d docs -c .jsdoc.js
module.js:549
throw err;
^
Error: Cannot find module 'ejs'
at Function.Module._resolveFilename (module.js:547:15)
at Requizzle.requizzle (D:\Git\jsdoc-vuejs\example\node_modules\requizzle\lib\requizzle.js:87:22)
at infectProxy (D:\Git\jsdoc-vuejs\example\node_modules\requizzle\lib\loader.js:82:28)
at Module.targetModule.require (D:\Git\jsdoc-vuejs\example\node_modules\requizzle\lib\loader.js:101:11)
at require (internal/module.js:11:18)
at Object.<anonymous> (D:\Git\jsdoc-vuejs\lib\core\renderer.js:1:249)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at Object.load (D:\Git\jsdoc-vuejs\example\node_modules\requizzle\lib\loader.js:112:15)
at Requizzle.requizzle (D:\Git\jsdoc-vuejs\example\node_modules\requizzle\lib\requizzle.js:90:24)
at infectProxy (D:\Git\jsdoc-vuejs\example\node_modules\requizzle\lib\loader.js:82:28)
at Module.targetModule.require (D:\Git\jsdoc-vuejs\example\node_modules\requizzle\lib\loader.js:101:11)
at require (internal/module.js:11:18)
at Object.<anonymous> (D:\Git\jsdoc-vuejs\index.js:3:16)
at Module._compile (module.js:652:30)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Error: Cannot find module 'ejs' - node.js - Stack Overflow
On your terminal or cmd -> Go to your apps directory, · cd pathtoyourapp/AppName · rerun your 'npm install' · rerun your 'npm...
Read more >Fix - Cannot find module 'ejs' error in Node.js - Reactgo
The Cannot find module ejs error occurs, if you're trying to access a ejs module that is currently not installed in your project....
Read more >Error Cannot find module ejs | Edureka Community
Go up one level (above app.js) and do npm install ejs. It will create a new node_modules folder and Express should find the...
Read more >Fix - Cannot find module 'ejs' error in Node.js - onlinecode
To fix the error, open the project root folder in your terminal and run the following command to install the ejs module. npm...
Read more >Node.js – Error: Cannot find module 'ejs' - iTecNote
ejsexpressnode.js. Here is my complete error: Error: Cannot find module 'ejs' at Function._resolveFilename (module.js:317:11) at Function.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Oh, okay 👍
By the way there is also some dependencies in
example, so you must run:Yes, feel free to! 😊 It would be nice to add it in
Testingsection, with steps:And also update steps for E2E 👍