$ vue init webpack mywebCommand vue init requires a global addon to be installed. Please run npm install -g @vue/cli-init and try again.
$ npm install -g @vue/cli-initnpm WARN deprecated vue-cli@2.9.6: This package has been deprecated in favour of @vue/cli npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) + @vue/cli-init@4.2.3 added 255 packages from 207 contributors in 14.777s
╭────────────────────────────────────────────────────────────────╮
│ │
│ New minor version of npm available! 6.13.4 → 6.14.2 │
│ Changelog: https://github.com/npm/cli/releases/tag/v6.14.2 │
│ Run npm install -g npm to update! │
│ │
╰────────────────────────────────────────────────────────────────╯
$ vue init webpack myweb⠇ downloading template ? Project name myweb ? Project description A Vue.js project ? Author LeoShi
vue-cli · Generated "myweb".
Installing project dependencies ...
========================
npm WARN deprecated extract-text-webpack-plugin@3.0.2: Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin
npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated bfj-node4@5.3.1: Switch to the bfj
package for fixes and new features!
npm WARN deprecated core-js@2.6.11: core-js@❤️ is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
fsevents@1.2.11 install /Users/Leo/Dropbox/Tutorial/VUE/myweb/node_modules/fsevents
node-gyp rebuild
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
core-js@2.6.11 postinstall /Users/Leo/Dropbox/Tutorial/VUE/myweb/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
https://opencollective.com/core-js
https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
ejs@2.7.4 postinstall /Users/Leo/Dropbox/Tutorial/VUE/myweb/node_modules/ejs
node ./postinstall.js
Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)
uglifyjs-webpack-plugin@0.4.6 postinstall /Users/Leo/Dropbox/Tutorial/VUE/myweb/node_modules/webpack/node_modules/uglifyjs-webpack-plugin
node lib/post_install.js
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN ajv-keywords@3.4.1 requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.
added 1307 packages from 687 contributors in 37.999s
25 packages are looking for funding
run npm fund
for details
Project initialization finished!
========================
To get started:
cd myweb
npm run dev
Documentation can be found at https://vuejs-templates.github.io/webpack