-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Webpack bundle for server side execution not working with superagent #672
Comments
sounds like some webpack issue. Maybe ask them to help |
I'm having this same issue. Seeing this when i try using superagent. Any luck with this issue? @vlinder |
You can try to fix that issue by adding
to your webpack config |
That is what solved my problem. |
@tdeheurles do you mind sharing the rest of your config? I'm still running into this issue |
I'll try to find... I’m not sure the project is fine. I can’t remind but maybe it’s the one where I finished with babel-cli ... |
@davis sorry, have looked to my commit and I can’t find ... Do you run targeting node ? |
I got around it by removing some lines from the bundle after building. Inconvenient, but works for now. Thanks though! |
I get warnings while bundling and a crash when running a webpack bundle with target 'node'.
webpack.config.js:
Bundling warnings:
Crash when bundle is run:
The text was updated successfully, but these errors were encountered: