-
Notifications
You must be signed in to change notification settings - Fork 200
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
ERROR in ./~/rss-parser/index.js Module not found: Error: Cannot resolve module 'fs'... #20
Comments
Ahh webpack. There are two entry points to rss-parser: Can you try
instead of
|
Thanks, that works! |
but one also get the warning
|
Are you using webpack? You can try adding
to your config. Obviously calls to RSSParser.parseFile() will fail, but parseURL and parseString should work. |
@bobby-brennan where exactly in the webpack.config.js would the |
It goes in the top level, e.g.
|
Thanks @bobby-brennan. I'm using next.js so I had to update the next.config.js file: https://github.com/zeit/next.js#customizing-webpack-config Simply adding |
Hey, I've just downloaded and included your module in my project.
I am using webpack for bundling.
All I did is just included package in main.js like this:
It results an error:
In webpack I use only babel-loader and json-loader.
My package.json dependencies:
Could you please help me to resolve this issue?
Thanks!
The text was updated successfully, but these errors were encountered: