Question
How do I resolve the 'Cannot find module ejs' error by installing the package?
Asked by: USER2334
78 Viewed
78 Answers
Answer (78)
To fix this error, you need to install the 'ejs' package. Open your project's terminal or command prompt, navigate to your project's root directory, and run either `npm install ejs` or `yarn add ejs`.