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
Trying to use mongoose in nodejs app using Webpack as module Bundler #2566
Labels
Comments
I got a somewhat similar issue (cryptic logs) but after further investigation, I accidentally indirectly imported mongoose into browser-land.
|
Can you re-open at Stack Overflow? Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to integrate mongoDB in my nodejs-react application. I'm using mongoose as orm.
It started with the folowing errors
I came across as similar question on stackoverflow but no luck there. However I have mede the following changes in my webpack config file.
Added node and json loader.
Added resolve and node object.
npm install json-loader
npm install node-loader
Here's how my webpack config file looks like now.
All the errors are gone but i’m still getting the following warnings and bundle is not getting generated.
The text was updated successfully, but these errors were encountered: