使用命令行创建一个vue项目的全部命令及结果

dell@DESKTOP-KD0EJ4H MINGW64 /f/05 项目
$ npm install --global vue-cli
npm WARN deprecated [email protected]: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
D:\nodejs\node_global\vue -> D:\nodejs\node_global\node_modules\vue-cli\bin\vue
D:\nodejs\node_global\vue-list -> D:\nodejs\node_global\node_modules\vue-cli\bin\vue-list
D:\nodejs\node_global\vue-init -> D:\nodejs\node_global\node_modules\vue-cli\bin\vue-init
+ [email protected]
updated 3 packages in 14.199s

dell@DESKTOP-KD0EJ4H MINGW64 /f/05 项目
$ vue init webpack poverty

? Project name (poverty) poverty
? Project name poverty
? Project description (A Vue.js project) poverti alleviation project
? Project description poverti alleviation project
? Author (lxx <814878176@qq.com>) lxx
? Author lxx
? Vue build standalone
? Install vue-router? (Y/n) y
? Install vue-router? Yes
? Use ESLint to lint your code? (Y/n) n
? Use ESLint to lint your code? No
? Set up unit tests (Y/n) y
? Set up unit tests Yes
? Pick a test runner (Use arrow keys)
? Pick a test runner jest
? Setup e2e tests with Nightwatch? (Y/n) y
? Setup e2e tests with Nightwatch? Yes
? Should we run `npm install` for you after the project has been created? (recom
? Should we run `npm install` for you after the project has been created? (recom
mended) npm

   vue-cli · Generated "poverty".


# Installing project dependencies ...
# ========================



dell@DESKTOP-KD0EJ4H MINGW64 /f/05 项目
$

dell@DESKTOP-KD0EJ4H MINGW64 /f/05 项目
$ cd poverty

dell@DESKTOP-KD0EJ4H MINGW64 /f/05 项目/poverty
$ npm install
npm WARN deprecated [email protected]: 1.2.0 should have been a major version bump
npm WARN deprecated [email protected]: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0

> [email protected] install F:\05 项目\poverty\node_modules\chromedriver
> node install.js

Downloading https://chromedriver.storage.googleapis.com/2.40/chromedriver_win32.zip
Saving to C:\Users\dell\AppData\Local\Temp\chromedriver\chromedriver_win32.zip
Received 781K...
Received 1568K...
Received 2352K...
Received 3136K...
Received 3376K total.
Extracting zip contents
Copying to target path F:\05 项目\poverty\node_modules\chromedriver\lib\chromedriver
Done. ChromeDriver binary available at F:\05 项目\poverty\node_modules\chromedriver\lib\chromedriver\chromedriver.exe

> [email protected] postinstall F:\05 项目\poverty\node_modules\webpack\node_modules\uglifyjs-webpack-plugin
> node lib/post_install.js

npm WARN rollback Rolling back [email protected] failed (this is probably harmless): EPERM: operation not permitted, lstat 'F:\05 项目\poverty\node_modules\fsevents\node_modules'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 1450 packages from 1038 contributors and audited 32841 packages in 175.609s
found 7 vulnerabilities (1 low, 1 moderate, 4 high, 1 critical)
  run `npm audit fix` to fix them, or `npm audit` for details

dell@DESKTOP-KD0EJ4H MINGW64 /f/05 项目/poverty
$ npm run dev

> [email protected] dev F:\05 项目\poverty
> webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

 10% building modules 0/1 modules 1 active ... webpack/hot/dev-server ./src/main 10% building modules 1/2 modules 1 active ...ode_modules\webpack\hot\dev-server 10% building modules 2/3 modules 1 active ...dex.js!F:\05 项目\poverty\src\ 10% building modules 2/4 modules 2 active ...client\index.js?http://localhost:8 10% building modules 2/5 modules 3 active ...verty\node_modules\webpack\hot\log 10% building modules 3/5 modules 2 active ...verty\node_modules\webpack\hot\log 10% building modules 3/6 modules 3 active ...dules\webpack\hot\log-apply-result 10% building modules 3/7 modules 4 active ...y\node_modules\webpack\hot\emitter 10% building modules 4/7 modules 3 active ...y\node_modules\webpack\hot\emitter 10% building modules 5/7 modules 2 active ...y\node_modules\webpack\hot\emitter 10% building modules 6/7 modules 1 active ...y\node_modules\webpack\hot\emitter 10% building modules 7/8 modules 1 active ...\webpack\hot nonrecursive /^\.\/lo 10% building modules 7/9 modules 2 active ...s\webpack-dev-server\client\socket 10% building modules 7/10 modules 3 active ...\webpack-dev-server\client\overla 10% building modules 8/10 modules 2 active ...\webpack-dev-server\client\overla 10% building modules 8/11 modules 3 active ... 项目\poverty\node_modules\ur 10% building modules 8/12 modules 4 active ...erty\node_modules\vue\dist\vue.es 11% building modules 9/12 modules 3 active ...erty\node_modules\vue\dist\vue.es 11% building modules 10/12 modules 2 active ...erty\node_modules\vue\dist\vue.e 11% building modules 10/13 modules 3 active ...poverty\node_modules\events\even 11% building modules 11/13 modules 2 active ...poverty\node_modules\events\even 11% building modules 11/14 modules 3 active ...ode_modules\webpack\buildin\glob 11% building modules 12/14 modules 2 active ...poverty\node_modules\events\even 11% building modules 13/14 modules 1 active ...poverty\node_modules\events\even 11% building modules 13/15 modules 2 active ...:\05 项目\poverty\src\router 11% building modules 14/15 modules 1 active ...:\05 项目\poverty\src\router 11% building modules 14/16 modules 2 active ...项目\poverty\node_modules\ur 11% building modules 14/17 modules 3 active ...erty\node_modules\strip-ansi\ind 11% building modules 15/17 modules 2 active ...erty\node_modules\strip-ansi\ind 11% building modules 15/18 modules 3 active ...node_modules\loglevel\lib\loglev 11% building modules 15/19 modules 4 active ...rty\node_modules\punycode\punyco 11% building modules 15/20 modules 5 active ...node_modules\querystring-es3\ind 11% building modules 15/21 modules 6 active ..._modules\sockjs-client\dist\sock 11% building modules 15/22 modules 7 active ...ref--0!F:\05 项目\poverty\sr 11% building modules 16/22 modules 6 active ...ref--0!F:\05 项目\poverty\sr 12% building modules 17/22 modules 5 active ...ref--0!F:\05 项目\poverty\sr 12% building modules 18/22 modules 4 active ...ref--0!F:\05 项目\poverty\sr 12% building modules 19/22 modules 3 active ...ref--0!F:\05 项目\poverty\sr 12% building modules 19/23 modules 4 active ...ode_modules\webpack\buildin\modu 12% building modules 20/23 modules 3 active ...ref--0!F:\05 项目\poverty\sr 12% building modules 21/23 modules 2 active ...ref--0!F:\05 项目\poverty\sr 12% building modules 22/23 modules 1 active ...ref--0!F:\05 项目\poverty\sr 12% building modules 23/24 modules 1 active ...verty\node_modules\ansi-html\ind 12% building modules 23/25 modules 2 active ...poverty\src\components\HelloWorl 12% building modules 23/26 modules 3 active ...y\node_modules\html-entities\ind 12% building modules 23/27 modules 4 active ...ode_modules\querystring-es3\deco 12% building modules 23/28 modules 5 active ...ode_modules\querystring-es3\enco 12% building modules 24/28 modules 4 active ...ode_modules\querystring-es3\enco 13% building modules 25/28 modules 3 active ...ode_modules\querystring-es3\enco 13% building modules 25/29 modules 4 active ...ndex=0!F:\05 项目\poverty\sr 13% building modules 26/29 modules 3 active ...ode_modules\querystring-es3\enco 13% building modules 26/30 modules 4 active ...ue-loader\lib\component-normaliz 13% building modules 26/31 modules 5 active ...ndex=0!F:\05 项目\poverty\sr 13% building modules 27/31 modules 4 active ...ue-loader\lib\component-normaliz 13% building modules 27/32 modules 5 active ...poverty\src\components\HelloWorl 13% building modules 27/33 modules 6 active ...poverty\src\components\HelloWorl 13% building modules 28/33 modules 5 active ...poverty\src\components\HelloWorl 13% building modules 29/33 modules 4 active ...ue-loader\lib\component-normaliz 13% building modules 30/33 modules 3 active ...ue-loader\lib\component-normaliz 13% building modules 31/33 modules 2 active ...ue-loader\lib\component-normaliz 13% building modules 32/33 modules 1 active ...ue-loader\lib\component-normaliz 13% building modules 32/34 modules 2 active ...les\vue-router\dist\vue-router.e 13% building modules 33/34 modules 1 active ...les\vue-router\dist\vue-router.e 13% building modules 33/35 modules 2 active ...les\html-entities\lib\xml-entiti 13% building modules 33/36 modules 3 active ...s\html-entities\lib\html4-entiti 13% building modules 33/37 modules 4 active ...s\html-entities\lib\html5-entiti 14% building modules 34/37 modules 3 active ...s\html-entities\lib\html5-entiti 14% building modules 34/38 modules 4 active ...erty\node_modules\ansi-regex\ind 14% building modules 35/38 modules 3 active ...erty\node_modules\ansi-regex\ind 14% building modules 36/38 modules 2 active ...erty\node_modules\ansi-regex\ind 14% building modules 37/38 modules 1 active ...erty\node_modules\ansi-regex\ind 14% building modules 37/39 modules 2 active ...ndex=0!F:\05 项目\poverty\sr 14% building modules 38/39 modules 1 active ...erty\node_modules\ansi-regex\ind 14% building modules 38/40 modules 2 active ...poverty\src\components\HelloWorl 14% building modules 39/40 modules 1 active ...erty\node_modules\ansi-regex\ind 14% building modules 39/41 modules 2 active ...ndex=0!F:\05 项目\poverty\sr 14% building modules 39/42 modules 3 active ...poverty\src\components\HelloWorl 14% building modules 39/43 modules 4 active ...ules\vue-hot-reload-api\dist\ind 14% building modules 40/43 modules 3 active ...ules\vue-hot-reload-api\dist\ind 14% building modules 40/44 modules 4 active ...e-style-loader\lib\addStylesClie 14% building modules 41/44 modules 3 active ...e-style-loader\lib\addStylesClie 15% building modules 42/44 modules 2 active ...poverty\src\components\HelloWorl 15% building modules 42/45 modules 3 active ...:\05 项目\poverty\src\assets 15% building modules 42/46 modules 4 active ...\vue-style-loader\lib\listToStyl 15% building modules 43/46 modules 3 active ...\vue-style-loader\lib\listToStyl 15% building modules 44/46 modules 2 active ...\vue-style-loader\lib\listToStyl 15% building modules 45/46 modules 1 active ...\vue-style-loader\lib\listToStyl 15% building modules 46/47 modules 1 active ...de_modules\css-loader\lib\css-ba 95% emitting DONE  Compiled successfully in 2613ms09:14:32

 I  Your application is running here: http://localhost:8080

 

转载于:https://www.cnblogs.com/stella1024/p/9241796.html

你可能感兴趣的:(javascript,webpack,json)