Saturday, 28 April 2018

Help: cannot find module error

I'm trying to install a new module into my project but as soon as I install and require it, I get the errorCannot find the module 'xxxxx'Earlier, I've installed modules such as express and body-parser which are both running smoothly, but I cannot see them requiring new modules. I've looked in my node_modules folder and after I install a new module a new file for that module gets created. It seems like require is unable to require it due some weird, routing maybe? Has anyone else had this problem?

Submitted April 28, 2018 at 08:52AM by Sirzorre

No comments:

Post a Comment