Closed ericln closed 8 years ago
I am also having this issue with the following versions: node: v6.3.1 npm: v3.10.3 webpack: v1.13.1
Looks like a babel issue. I will try to investigate it further.
@ericln Remove this code from .babelrc
:
"env": {
"development": {
"plugins": ["rewire"]
}
}
Something has changed between babel-plugin-rewire 1.0.0-rc-3
and 1.0.0-rc-5
which is causing the build to break. I don't have time to investigate every commit in that project, but I can remove ^
from the generator code so that it uses specifically version 1.0.0-rc-3
as an interim solution.
I have been seeing the following error recently once I clear the
node_module
and rebuild. I have just downloaded the megaboilerplate zip file again with the following configuration, and still having the same issue. Tried it with other build system ( gulp and npm) they seems to be ok.