babel-preset-latest deprecation warning at npm install
Doing npm install -g vue-cli gives:
npm WARN deprecated [email protected]: 💥 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 🐦
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!
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"...
Ups, closed a bit too fast. That warning appear because of a dependency in vue-cli but the problem should be fixed somewhere else. I'll check it once I'm home. It's probably a Vue preset
On Fri, 31 Mar 2017, 15:44 John Kole, [email protected] wrote:
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.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/vuejs/vue-cli/issues/420#issuecomment-290715824, or mute the thread https://github.com/notifications/unsubscribe-auth/AAoicZQ2CZBLuAdSVwJOsIRZ_ZHjctwaks5rrQM9gaJpZM4MupgQ .
To fix these deprecation notices, vue-cli must bump babel-preset-vue-app to the very least 0.5.0. Ideally, ^1.0.
Just got this today -- is there any blockers to updating babel-preset-vue-app?