Skip to content

Failed to resolve babel-loader #2599

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

Closed
forehalo opened this issue Sep 25, 2018 · 4 comments
Closed

Failed to resolve babel-loader #2599

forehalo opened this issue Sep 25, 2018 · 4 comments

Comments

@forehalo
Copy link

Version

3.0.4

Node and OS info

Node 10.8.0 / yarn 1.9.4 / macOS 10.13.6

Steps to reproduce

vue create testing
select the all given plugins
yarn run build

What is expected?

generate built files

What is actually happening?

Failed to resolve loader: babel-loader
You may need to install it.

@haoqunjiang
Copy link
Member

haoqunjiang commented Sep 25, 2018

Both @vue/cli-plugin-babel & @vue/cli-plugin-e2e-cypress depends on babel-loader, but somehow yarn does not hoist the common dependency and installs them in the nested folders instead.
For now you can manually run yarn add -D babel-loader to solve the problem.

@haoqunjiang
Copy link
Member

Possible related:
yarnpkg/yarn#5807
yarnpkg/yarn#5823

@frederikhors
Copy link

Same here!

@shirshak55
Copy link

Yes its so frustating issue. I reinstalled it thinking I have done something wrong :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants