-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
babel-loader@8.0.2 requires a peer of @babel/core@^7.0.0 but none is installed. #2432
Comments
只是 warning,不影响实际使用。项目中实际有安装 @babel/core v7.0.0-beta.47。 |
In case it's helpful to others, here's a lightly edited version of Google's English translation of @sodatea's message above:
|
Thank you @sodatea for the response and @tinymachine for the translation. |
You may need to install Babel this way, as of Babel 7: |
@HelaGone Thankyou a lot for sharing this, I was looking for a solution for hours and your suggestion just save my life here! 😄 |
@BrenoTeodor-o you're welcome, Happy coding |
Reference that helped me resolve this - vuejs/vue-cli#2432
Well, in most cases you shouldn't ignore this; the issue arises from babel having so many package versions (babel 6, babel 7; etc.) |
Life saver. |
why use sudo |
Thank you! This helped me get past my npm install --save gh-pages command! |
Version
3.0.1
Reproduction link
https://github.com/vuejs
Node and OS info
babel-loader@8.0.2 requires a peer of @babel/core@^7.0.0 but none is installed.
Steps to reproduce
i created a project,run 'npm install'.showed the info 'babel-loader@8.0.2 requires a peer of @babel/core@^7.0.0 but none is installed.'
What is expected?
@babel/core 项目依赖安装完毕
What is actually happening?
需手动安装
The text was updated successfully, but these errors were encountered: