-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
vue-cli bundling error for extract-files #117
Comments
Are you running it in |
Bundling through the latest webpack 4 and latest babel 7. |
It works fine with Webpack v4 and Babel v7 via Next.js in apollo-upload-examples… are you sure you don't have some custom resolve config or something? |
I have a default vue-cli project.
That was the way I created the project. Some steps are missing though. |
Let me know what you find, but so far I can't reproduce anything. CRA, Next.js, etc. often do wierd custom stuff under the hood breaking normal Webpack or Node.js behaviors. If it turns out to be a |
I check the dependency tree - the only project which is using My understanding is following.
So, my conclusion. This line |
After just a quick search of the Looks like they are setting custom resolve config without accounting for |
Closing because this is a Webpack config issue in |
Here is an example of what it should look like: https://github.com/zeit/next.js/blob/7.0.1-canary.0/build/webpack.js#L155 |
Thanks! |
Lol. It closed my issue, even though I did everything they asked. |
Nice, thanks for reporting, I made a PR on vue-cli to fix this vuejs/vue-cli#2819 |
Not related to vue-cli ,but had the following error also with ".mjs" added and version ^9.0.0 :
Had to downgrade to ^8.0.0 to fix it. |
@vvision this package is not using |
Here is the error.
But v8.0 works fine in node.js 8.
The text was updated successfully, but these errors were encountered: