Skip to content
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-preset-latest deprecation warning at npm install #420

Closed
jkole opened this issue Mar 30, 2017 · 5 comments
Closed

babel-preset-latest deprecation warning at npm install #420

jkole opened this issue Mar 30, 2017 · 5 comments

Comments

@jkole
Copy link

jkole commented Mar 30, 2017

Doing npm install -g vue-cli gives:

npm WARN deprecated babel-preset-latest@6.24.0: 💥 preset-latest accomplishes the same task as babel-preset-env. 🙏 Please install it with 'npm install babel-preset-env --save-dev'. '{ "presets": ["latest"] }' to '{ "presets": ["env"] }'. For more info, please check the docs: http://babeljs.io/docs/plugins/preset-env 👌. And let us know how you're liking Babel at @babeljs on 🐦

@posva
Copy link
Member

posva commented Mar 31, 2017

Hello!
Please, open the issue on the relevant template repo (I think you're using the webpack one) and provide some steps to reproduce the problem.
Thanks!

@posva posva closed this as completed Mar 31, 2017
@jkole
Copy link
Author

jkole commented Mar 31, 2017

I'm not sure I understand. As noted in the issue, this warning is immediately after the very first npm install of the vue-cli package, not when creating a new skeleton with any particular template. In other words, the first experience a new user has when installing vue-cli for the first time is a deprecation warning...nothing to do with any specific template. The steps to replicate are as indicated in the issue: simply try to do a fresh install with "npm install -g vue-cli"...

@posva
Copy link
Member

posva commented Mar 31, 2017 via email

@mcaskill
Copy link

mcaskill commented Aug 30, 2017

To fix these deprecation notices, vue-cli must bump babel-preset-vue-app to the very least 0.5.0. Ideally, ^1.0.

@tizmagik
Copy link

Just got this today -- is there any blockers to updating babel-preset-vue-app?

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

No branches or pull requests

5 participants
@mcaskill @tizmagik @posva @jkole and others