-
Notifications
You must be signed in to change notification settings - Fork 12
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 remove 'babel-plugin-transform-es2015-modules-commonjs' from the plugin list." #10
Comments
@matt-mcdaniel Can you attempt to fix this and raise a PR? It should be pretty straightforward. |
Submitted a pull request fixing this issue. #11 The issue is that, for projects that have A temporary fix for this is to run |
Thank you for investigating. Wouldn't a simple solution would to simply add a warning to the documentation? (e.g. simply telling people to ensure that they have a clean install without |
That would definitely be an option, but it seems like you wouldn't want the two projects be mutually exclusive. For example, you might want to support projects where people use There are also other packages that require It's also unexpectedly breaking a lot of build processes for users who upgrade from npm 2x to npm 3x. The error provided doesn't make it immediately clear what the problem is. See issue #658 of react-boilerplate. It also might be a barrier to entry for people trying to switch over to |
Any update on your intention to accept the pull request/fix this issue? |
Version v6.4.2 has been published. Thank you. |
What are the steps for resolving this? I've tried various combinations but still getting the same error |
|
Fighting this fight right now. It definitely wasn't an issue yesterday. |
just use #14 |
I have updated babel-preset-es2015-webpack to the version 6.4.2, but still have this issue. |
bump also having this on:
with node |
Drop |
Is 'babel-preset-es2015-webpack' dead? What is exactly the difference between (BTW, to disable that nasty error in |
@hipertracker It seems to be no difference between the both. But now the |
@hipertracker PR #13 has a fix for this issue. Your fix could be causing you other unexpected problems by ignoring the warning. |
@hipertracker, @preco21, Hey guys, there is a difference between them. Babel-preset-es2015-webpack is smarter then babel-preset-es2015. He can avoid useless function and generate smaller builds because it understands module ;) |
@Flavien-Pensato What do you mean? If you are talking
Then I guess you probably misunderstood how this module works. I remember this module's purpose was let So there is no difference with it. |
still getting this error, and I got to know |
Webpack is throwing this error when using this preset:
Package.json
.babelrc
Here is the bit of code from
index.js
that is tripping webpack up:I'm running npm v3.9.6 and Node v4.4.0.
The text was updated successfully, but these errors were encountered: