express-http-context icon indicating copy to clipboard operation
express-http-context copied to clipboard

Cannot find module.

Open amaciver opened this issue 7 years ago • 2 comments

npm install --save express-http-router var httpContext = require('express-http-context'); npm start cannot find module

when I run node console, I can require the module fine. The folder in in my node_modules for the project.

Any ideas?

amaciver avatar Aug 08 '18 20:08 amaciver

Are you are using webpack or some bundler that would interfere with how modules are loaded?

dalgleish avatar Aug 08 '18 23:08 dalgleish

no, I am not; using nodemon only. The strange thing is that some new packages that I load in are requiring fine, but this one is not. It's a puzzle.

On Wed, Aug 8, 2018 at 4:13 PM, Andrew [email protected] wrote:

Are you are using webpack or some bundler that would interfere with how modules are loaded?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/skonves/express-http-context/issues/19#issuecomment-411583353, or mute the thread https://github.com/notifications/unsubscribe-auth/AXz2lxDHtPkPwmnYZhVtkEYXIvVW6wMRks5uO3CvgaJpZM4V0n_4 .

amaciver avatar Aug 08 '18 23:08 amaciver