Haoqun Jiang d8db292080 fix: fix "Vue packages version mismatch" error caused by other global packages (#5163)
closes #5161

The root cause of such issues:

`vue-jscodeshift-adapter` requires `vue-template-compiler`.
`vue-template-compiler` tries to require the `vue` package and check
its version on startup.

Normally, there's no `vue` package in the dependency tree of `@vue/cli`,
so this check will just skip.

But if the user has installed some other global package that depend on
`vue`, and hoists it to the root `node_modules`, `vue-template-compiler`
would successfully require it and check against that `vue` version,
which sometimes may be outdated, thus failing the bootstrap process.
2020-02-27 11:10:47 +08:00
2020-02-17 15:22:18 +08:00
2020-02-07 19:15:19 +08:00
2020-02-07 19:10:35 +08:00
2018-01-06 13:04:43 -05:00
2020-02-27 10:28:49 +08:00

Vue CLI Build Status Windows Build status lerna

Vue CLI is the Standard Tooling for Vue.js Development.

Documentation

Docs are available at https://cli.vuejs.org/ - we are still working on refining it and contributions are welcome!

Contributing

Please see contributing guide.

License

MIT

Description
🛠️ webpack-based tooling for Vue.js Development
Readme MIT 45 MiB
Languages
JavaScript 75%
Vue 22.9%
TypeScript 0.9%
Stylus 0.5%
HTML 0.3%
Other 0.4%