-
Notifications
You must be signed in to change notification settings - Fork 224
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 Compilation error #173
Comments
Same as me, any ideas ? |
I had the same error, but was able to remove the package depending on source-map-support, which then got rid of it. @smile18 If you cant remove bunyan what happens if you add the source-map-support package ? |
It appears to be caused by these lines (~470 in source-map-support.js)...
Perhaps webpack 2 is treating this differently than webpack 1 did? |
Webpack 2/3 will attempt to parse any and all ES dynamic To work around this, you can set node.fs and node.module both to "empty" in your Webpack configuration, e.g: {
/* Other configuration keys */
node: {
fs: "empty",
module: "empty",
}
} |
Any idea how to do that in angular-cli (without ng eject)? |
up? |
Had the same issue:
Solved with Webpack configure mentioned above:
Thanks @jscinoz !!! |
Yeah this is an issue for me as well. Please fix your software @evanw |
Would be happy to accept a pull request to fix this @Jasonwr |
@LinusU I'm strapped for time at the moment. Lots of coding these days. Also I'd have to ramp up on the internals of this package before being able to submit a defect free PR. |
Getting below error while compiling ...
WARNING in ./~/source-map-support/source-map-support.js Module not found: Error: Can't resolve 'module' in 'D:\WebStormWork\myapp\node_modules\source-map-support' @ ./~/source-map-support/source-map-support.js 474:15-32 @ ./~/bunyan/lib/bunyan.js @ ./~/ldapjs/lib/index.js @ multi webpack-dev-server/client webpack: Compiled with warnings.
The text was updated successfully, but these errors were encountered: