Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module. #19

Open
amaciver opened this issue Aug 8, 2018 · 2 comments
Open

Cannot find module. #19

amaciver opened this issue Aug 8, 2018 · 2 comments

Comments

@amaciver
Copy link

amaciver commented Aug 8, 2018

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?

@dalgleish
Copy link

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

@amaciver
Copy link
Author

amaciver commented Aug 8, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants