依赖包安装完了,出来的这个。啥意思

来源:2-1 开始一个Vue项目

Sherlock_bourne

2019-07-30 21:47:23

DELL@DELL-PC MINGW64 /e/慕课网/慕课网就业课程教辅下载/第四阶段/步骤二/4实战:项目准备与骨架搭建/vue 实现慕淘商城之项目准备与搭建(代码)/mall
$ cnpm install
platform unsupported babel-loader@7.1.5 › webpack@3.12.0 › watchpack@1.6.0 › chokidar@2.1.6 › fsevents@^1.2.7 Package require os(darwin) not compatible with your platform(win32)
[fsevents@^1.2.7] optional install error: Package require os(darwin) not compatible with your platform(win32)
√ Installed 55 packages
√ Linked 860 latest versions
[1/4] scripts.postinstall vue-awesome-swiper@3.1.3 › swiper@^4.0.7 run "node -e \"console.log('\\u001b[35m\\u001b[1mLove Swiper? Support Vladimir\\'s work by donating or pledging on patreon:\\u001b[22m\\u001b[39m\\n > \\u001b[32mhttps://patreon.com/vladimirkharlampidi\\u001b[0m\\n')\"", root: "E:\\慕课网\\慕课网就业课程教辅下载\\第四阶段\\步骤二\\4实战:项目准备与骨架搭建\\vue 实现慕淘商城之项目准备与搭建(代码)\\mall\\node_modules\\_swiper@4.5.0@swiper"
Love Swiper? Support Vladimir's work by donating or pledging on patreon:
 > https://patreon.com/vladimirkharlampidi

[1/4] scripts.postinstall vue-awesome-swiper@3.1.3 › swiper@^4.0.7 finished in 1s
[2/4] scripts.postinstall babel-loader@7.1.5 › webpack@3.12.0 › uglifyjs-webpack-plugin@^0.4.6 run "node lib/post_install.js", root: "E:\\慕课网\\慕课网就业课程教辅下载\\第四阶段\\步骤二\\4实战:项目准备与骨架搭建\\vue 实现慕淘商城之项目准备与搭建(代码)\\mall\\node_modules\\_uglifyjs-webpack-plugin@0.4.6@uglifyjs-webpack-plugin"
[2/4] scripts.postinstall babel-loader@7.1.5 › webpack@3.12.0 › uglifyjs-webpack-plugin@^0.4.6 finished in 905ms
[3/4] scripts.postinstall babel-core@6.26.3 › babel-register@6.26.0 › core-js@^2.5.0 run "node scripts/postinstall || echo \"ignore\"", root: "E:\\慕课网\\慕课网就业课程教辅下载\\第四阶段\\步骤二\\4实战:项目准备与骨架搭建\\vue 实现慕淘商城之项目准备与搭建(代码)\\mall\\node_modules\\_core-js@2.6.9@core-js"
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 -)

[3/4] scripts.postinstall babel-core@6.26.3 › babel-register@6.26.0 › core-js@^2.5.0 finished in 2s
[4/4] scripts.install node-sass@^4.8.3 run "node scripts/install.js", root: "E:\\慕课网\\慕课网就业课程教辅下载\\第四阶段\\步骤二\\4实战:项目准备与骨架搭建\\vue 实现慕淘商城之项目准备与搭建(代码)\\mall\\node_modules\\_node-sass@4.12.0@node-sass"
Downloading binary from https://cdn.npm.taobao.org/dist/node-sass/v4.12.0/win32-x64-64_binding.node
Download complete
Binary saved to E:\慕课网\慕课网就业课程教辅下载\第四阶段\步骤二\4实战:项目准备与骨架搭建\vue 实现慕淘商城之项目准备与搭建(代码)\mall\node_modules\_node-sass@4.12.0@node-sass\vendor\win32-x64-64\binding.node
Caching binary to C:\Users\DELL\.npminstall_tarball\node-sass\4.12.0\win32-x64-64_binding.node
[4/4] scripts.install node-sass@^4.8.3 finished in 7s
[4/4] scripts.postinstall node-sass@^4.8.3 run "node scripts/build.js", root: "E:\\慕课网\\慕课网就业课程教辅下载\\第四阶段\\步骤二\\4实战:项目准备与骨架搭建\\vue 实现慕淘商城之项目准备与搭建(代码)\\mall\\node_modules\\_node-sass@4.12.0@node-sass"
Binary found at E:\慕课网\慕课网就业课程教辅下载\第四阶段\步骤二\4实战:项目准备与骨架搭建\vue 实现慕淘商城之项目准备与搭建(代码)\mall\node_modules\_node-sass@4.12.0@node-sass\vendor\win32-x64-64\binding.node
Testing binary
Binary is fine
[4/4] scripts.postinstall node-sass@^4.8.3 finished in 4s
√ Run 4 scripts
peerDependencies link ajv@5.5.2 in E:\慕课网\慕课网就业课程教辅下载\第四阶段\步骤二\4实战:项目准备与骨架搭建\vue 实现慕淘商城之项目准备与搭建(代码)\mall\node_modules\_ajv-keywords@2.1.1@ajv-keywords unmet with E:\慕课网\慕课网就业课程教辅下载\第四阶段\步骤二\4实战:项目准备与骨架搭建\vue 实现慕淘商城之项目准备与搭建(代码)\mall\node_modules\ajv(6.10.2)
deprecate autoprefixer@7.2.6 › browserslist@^2.11.3 Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
deprecate css-loader@0.28.11 › cssnano@3.10.0 › autoprefixer@6.7.7 › browserslist@^1.7.6 Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
deprecate eslint@4.19.1 › file-entry-cache@2.0.0 › flat-cache@1.3.4 › circular-json@^0.3.1 CircularJSON is in maintenance only, flatted is its successor.
deprecate webpack-bundle-analyzer@2.13.1 › bfj-node4@^5.2.0 Switch to the `bfj` package for fixes and new features!
Recently updated (since 2019-07-23): 5 packages (detail see file E:\慕课网\慕课网就业课程教辅下载\第四阶段\步骤二\4实战:项目准备与骨架搭建\vue 实现慕淘商城之项目准备与搭建(代码)\mall\node_modules\.recently_updates.txt)
  Today:
    → autoprefixer@7.2.6 › browserslist@2.11.3 › electron-to-chromium@^1.3.30(1.3.205) (16:02:31)
    → autoprefixer@7.2.6 › caniuse-lite@^1.0.30000805(1.0.30000987) (13:32:37)
    → css-loader@0.28.11 › cssnano@3.10.0 › autoprefixer@6.7.7 › caniuse-db@^1.0.30000634(1.0.30000987) (13:06:48)
√ All packages installed (1076 packages installed from npm registry, used 2m(network 2m), speed 43.57kB/s, json 915(2MB), tarball 2.61MB)

DELL@DELL-PC MINGW64 /e/慕课网/慕课网就业课程教辅下载/第四阶段/步骤二/4实战:项目准备与骨架搭建/vue 实现慕淘商城之项目准备与搭建(代码)/mall
$ cnpm run dev

> mall@1.0.0 dev E:\慕课网\慕课网就业课程教辅下载\第四阶段\步骤二\4实战:项目准备与骨架搭建\vue 实现慕淘商城之项目准备与搭建(代码)\mall
> 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 ...r\client\index.js?http://0.0.0.0:8 10% building modules 2/3 modules 1 active ...\webpack\hot nonrecursive /^\.\/lo 10% building modules 2/4 modules 2 active ...5@webpack-dev-server\client\socket 10% building modules 2/5 modules 3 active ...@webpack-dev-server\client\overlay 10% building modules 3/5 modules 2 active ...@webpack-dev-server\client\overlay 10% building modules 3/6 modules 3 active ...l\node_modules\_url@0.11.0@url\url 10% building modules 3/7 modules 4 active ...pack@3.12.0@webpack\hot\dev-server 10% building modules 4/7 modules 3 active ...pack@3.12.0@webpack\hot\dev-server 10% building modules 5/7 modules 2 active ...pack@3.12.0@webpack\hot\dev-server 10% building modules 6/7 modules 1 active ...l\node_modules\_url@0.11.0@url\url 10% building modules 6/8 modules 2 active ...webpack@3.12.0@webpack\hot\emitter 10% building modules 7/8 modules 1 active ...webpack@3.12.0@webpack\hot\emitter 10% building modules 7/9 modules 2 active ...es\_webpack@3.12.0@webpack\hot\log 10% building modules 7/10 modules 3 active ...e 实现慕淘商城之项目准备与搭建(代 10% building modules 8/10 modules 2 active ...e 实现慕淘商城之项目准备与搭建(代 10% building modules 8/11 modules 3 active ....12.0@webpack\hot\log-apply-resul 11% building modules 9/11 modules 2 active ....12.0@webpack\hot\log-apply-resul 11% building modules 10/11 modules 1 active ....12.0@webpack\hot\log-apply-resu 11% building modules 10/12 modules 2 active ...\node_modules\_url@0.11.0@url\ut 11% building modules 10/13 modules 3 active ...\_punycode@1.4.1@punycode\punyco 11% building modules 10/14 modules 4 active ...ng-es3@0.2.1@querystring-es3\ind 11% building modules 11/14 modules 3 active ...ng-es3@0.2.1@querystring-es3\ind 11% building modules 12/14 modules 2 active ...ng-es3@0.2.1@querystring-es3\ind 11% building modules 12/15 modules 3 active ...odules\_events@3.0.0@events\even 11% building modules 12/16 modules 4 active ..._strip-ansi@3.0.1@strip-ansi\ind 11% building modules 13/16 modules 3 active ..._strip-ansi@3.0.1@strip-ansi\ind 11% building modules 14/16 modules 2 active ..._strip-ansi@3.0.1@strip-ansi\ind 11% building modules 14/17 modules 3 active ...nt@1.1.5@sockjs-client\dist\sock 11% building modules 14/18 modules 4 active ...glevel@1.6.3@loglevel\lib\loglev 11% building modules 15/18 modules 3 active ...glevel@1.6.3@loglevel\lib\loglev 11% building modules 16/18 modules 2 active ...glevel@1.6.3@loglevel\lib\loglev 11% building modules 16/19 modules 3 active ...s\_ansi-html@0.0.7@ansi-html\ind 11% building modules 16/20 modules 4 active ...pack@3.12.0@webpack\buildin\modu 11% building modules 16/21 modules 5 active ...pack@3.12.0@webpack\buildin\glob 11% building modules 16/22 modules 6 active ...g-es3@0.2.1@querystring-es3\deco 11% building modules 16/23 modules 7 active ...g-es3@0.2.1@querystring-es3\enco 11% building modules 16/24 modules 8 active ...entities@1.2.1@html-entities\ind 11% building modules 16/25 modules 9 active ...之项目准备与搭建(代码)\mall\src\ 12% building modules 17/25 modules 8 active ...之项目准备与搭建(代码)\mall\src\ 12% building modules 18/25 modules 7 active ...之项目准备与搭建(代码)\mall\src\ 12% building modules 19/25 modules 6 active ...之项目准备与搭建(代码)\mall\src\ 12% building modules 20/25 modules 5 active ...之项目准备与搭建(代码)\mall\src\ 12% building modules 21/25 modules 4 active ...之项目准备与搭建(代码)\mall\src\ 12% building modules 22/25 modules 3 active ...之项目准备与搭建(代码)\mall\src\ 12% building modules 23/25 modules 2 active ...之项目准备与搭建(代码)\mall\src\ 12% building modules 23/26 modules 3 active ...2.1@html-entities\lib\xml-entiti 12% building modules 23/27 modules 4 active ...1@html-entities\lib\html4-entiti 12% building modules 23/28 modules 5 active ...1@html-entities\lib\html5-entiti 12% building modules 24/28 modules 4 active ...1@html-entities\lib\html5-entiti 12% building modules 24/29 modules 5 active ...ue@2.6.10@vue\dist\vue.runtime.e 12% building modules 24/30 modules 6 active ...lick@1.0.6@fastclick\lib\fastcli 13% building modules 25/30 modules 5 active ...lick@1.0.6@fastclick\lib\fastcli 13% building modules 26/30 modules 4 active ...lick@1.0.6@fastclick\lib\fastcli 13% building modules 26/31 modules 5 active ...e 实现慕淘商城之项目准备与搭建( 13% building modules 26/32 modules 6 active ...建(代码)\mall\src\assets\scss\in 13% building modules 27/32 modules 5 active ...e 实现慕淘商城之项目准备与搭建( 13% building modules 27/33 modules 6 active ...建(代码)\mall\src\assets\scss\in 13% building modules 28/33 modules 5 active ...建(代码)\mall\src\assets\scss\in 13% building modules 29/33 modules 4 active ...建(代码)\mall\src\assets\scss\in 13% building modules 29/34 modules 5 active ...e-style-loader\lib\addStylesClie 13% building modules 30/34 modules 4 active ...e-style-loader\lib\addStylesClie 13% building modules 31/34 modules 3 active ...建(代码)\mall\src\assets\scss\in 13% building modules 31/35 modules 4 active ..._ansi-regex@2.1.1@ansi-regex\ind 13% building modules 32/35 modules 3 active ..._ansi-regex@2.1.1@ansi-regex\ind 13% building modules 32/36 modules 4 active ...ue-loader\lib\component-normaliz 13% building modules 32/37 modules 5 active ...e 实现慕淘商城之项目准备与搭建( 13% building modules 33/37 modules 4 active ...ue-loader\lib\component-normaliz 13% building modules 33/38 modules 5 active ...e 实现慕淘商城之项目准备与搭建(代码)\mall\src\App.vue{ parser: "babylon" } is deprecated; we now treat it as { parser: "babel" }.
 14% building modules 34/38 modules 4 active ...ue-loader\lib\component-normaliz 14% building modules 35/38 modules 3 active ...ue-loader\lib\component-normaliz 14% building modules 35/39 modules 4 active ...(代码)\mall\src\pages\product\in 14% building modules 35/40 modules 5 active ...与搭建(代码)\mall\src\pages\home 14% building modules 35/41 modules 6 active ...代码)\mall\src\pages\category\in 14% building modules 35/42 modules 7 active ...与搭建(代码)\mall\src\pages\cart 14% building modules 35/43 modules 8 active ...代码)\mall\src\pages\personal\in 14% building modules 35/44 modules 9 active ...建(代码)\mall\src\pages\search\i 14% building modules 35/45 modules 10 active ...@vue-style-loader\lib\listToSty 14% building modules 36/45 modules 9 active ...@vue-style-loader\lib\listToStyl 14% building modules 36/46 modules 10 active ...0.7@vue-router\dist\vue-router. 14% building modules 37/46 modules 9 active ...0.7@vue-router\dist\vue-router.e 14% building modules 38/46 modules 8 active ...0.7@vue-router\dist\vue-router.e 14% building modules 39/46 modules 7 active ...0.7@vue-router\dist\vue-router.e 14% building modules 40/46 modules 6 active ...0.7@vue-router\dist\vue-router.e 14% building modules 41/46 modules 5 active ...0.7@vue-router\dist\vue-router.e 15% building modules 42/46 modules 4 active ...0.7@vue-router\dist\vue-router.e 15% building modules 43/46 modules 3 active ...0.7@vue-router\dist\vue-router.e 15% building modules 43/47 modules 4 active ...(代码)\mall\src\pages\product\in 15% building modules 43/48 modules 5 active ...(代码)\mall\src\pages\product\in 15% building modules 44/48 modules 4 active ...(代码)\mall\src\pages\product\in 15% building modules 45/48 modules 3 active ...0.7@vue-router\dist\vue-router.e 15% building modules 45/49 modules 4 active ...与搭建(代码)\mall\src\pages\home 15% building modules 45/50 modules 5 active ...与搭建(代码)\mall\src\pages\home 15% building modules 46/50 modules 4 active ...与搭建(代码)\mall\src\pages\home 15% building modules 47/50 modules 3 active ...0.7@vue-router\dist\vue-router.e 15% building modules 47/51 modules 4 active ...代码)\mall\src\pages\category\in 15% building modules 47/52 modules 5 active ...代码)\mall\src\pages\category\in 15% building modules 48/52 modules 4 active ...代码)\mall\src\pages\category\in 15% building modules 49/52 modules 3 active ...0.7@vue-router\dist\vue-router.e 15% building modules 49/53 modules 4 active ...与搭建(代码)\mall\src\pages\cart 15% building modules 49/54 modules 5 active ...与搭建(代码)\mall\src\pages\cart 16% building modules 50/54 modules 4 active ...与搭建(代码)\mall\src\pages\cart 16% building modules 51/54 modules 3 active ...0.7@vue-router\dist\vue-router.e 16% building modules 51/55 modules 4 active ...代码)\mall\src\pages\personal\in 16% building modules 51/56 modules 5 active ...代码)\mall\src\pages\personal\in 16% building modules 52/56 modules 4 active ...代码)\mall\src\pages\personal\in 16% building modules 53/56 modules 3 active ...0.7@vue-router\dist\vue-router.e 16% building modules 53/57 modules 4 active ...建(代码)\mall\src\pages\search\i 16% building modules 53/58 modules 5 active ...建(代码)\mall\src\pages\search\i 16% building modules 54/58 modules 4 active ...建(代码)\mall\src\pages\search\i 16% building modules 55/58 modules 3 active ...0.7@vue-router\dist\vue-router.e 16% building modules 55/59 modules 4 active ...(代码)\mall\src\pages\product\in 16% building modules 56/59 modules 3 active ...0.7@vue-router\dist\vue-router.e 16% building modules 56/60 modules 4 active ...与搭建(代码)\mall\src\pages\home 16% building modules 57/60 modules 3 active ...0.7@vue-router\dist\vue-router.e 16% building modules 57/61 modules 4 active ...代码)\mall\src\pages\category\in 16% building modules 58/61 modules 3 active ...0.7@vue-router\dist\vue-router.e 16% building modules 58/62 modules 4 active ...与搭建(代码)\mall\src\pages\cart 17% building modules 59/62 modules 3 active ...0.7@vue-router\dist\vue-router.e 17% building modules 59/63 modules 4 active ...代码)\mall\src\pages\personal\in 17% building modules 60/63 modules 3 active ...0.7@vue-router\dist\vue-router.e 17% building modules 60/64 modules 4 active ...建(代码)\mall\src\pages\search\i 17% building modules 61/64 modules 3 active ...0.7@vue-router\dist\vue-router.e 17% building modules 61/65 modules 4 active ...(代码)\mall\src\pages\product\in 17% building modules 61/66 modules 5 active ...与搭建(代码)\mall\src\pages\home 17% building modules 61/67 modules 6 active ...代码)\mall\src\pages\category\in 17% building modules 61/68 modules 7 active ...与搭建(代码)\mall\src\pages\cart 17% building modules 61/69 modules 8 active ...代码)\mall\src\pages\personal\in 17% building modules 61/70 modules 9 active ...建(代码)\mall\src\pages\search\i 17% building modules 61/71 modules 10 active ....3.3@vue-hot-reload-api\dist\in 17% building modules 62/71 modules 9 active ....3.3@vue-hot-reload-api\dist\ind 17% building modules 62/72 modules 10 active ...\mall\src\components\tabbar\ind 17% building modules 63/72 modules 9 active ...\mall\src\components\tabbar\inde 17% building modules 64/72 modules 8 active ...\mall\src\components\tabbar\inde 17% building modules 65/72 modules 7 active ...建(代码)\mall\src\pages\search\i 17% building modules 65/73 modules 8 active ...\mall\src\components\tabbar\inde 17% building modules 66/73 modules 7 active ...建(代码)\mall\src\pages\search\i 17% building modules 66/74 modules 8 active ...\mall\src\components\tabbar\inde 17% building modules 66/75 modules 9 active ...\mall\src\components\tabbar\inde 18% building modules 67/75 modules 8 active ...\mall\src\components\tabbar\inde 18% building modules 68/75 modules 7 active ...建(代码)\mall\src\pages\search\i 18% building modules 68/76 modules 8 active ...\mall\src\components\tabbar\inde 18% building modules 69/76 modules 7 active ...\mall\src\components\tabbar\inde 18% building modules 70/76 modules 6 active ...\mall\src\components\tabbar\inde 18% building modules 71/76 modules 5 active ...\mall\src\components\tabbar\inde 18% building modules 72/76 modules 4 active ...\mall\src\components\tabbar\inde 18% building modules 73/76 modules 3 active ...\mall\src\components\tabbar\inde 18% building modules 74/76 modules 2 active ...\mall\src\components\tabbar\inde 18% building modules 74/77 modules 3 active ...er@0.28.11@css-loader\lib\css-ba 19% building modules 75/77 modules 2 active ...er@0.28.11@css-loader\lib\css-ba 19% building modules 76/77 modules 1 active ...建(代码)\mall\src\assets\scss\in 19% building modules 77/78 modules 1 active ...@0.28.11@css-loader\lib\url\esca 19% building modules 78/79 modules 1 active ...ts\fonts\iconfont.eot?t=15222377 19% building modules 78/80 modules 2 active ...ts\fonts\iconfont.ttf?t=15222377 19% building modules 78/81 modules 3 active ...ts\fonts\iconfont.svg?t=15222377 19% building modules 79/81 modules 2 active ...ts\fonts\iconfont.svg?t=15222377 19% building modules 80/81 modules 1 active ...ts\fonts\iconfont.svg?t=15222377 95% emitting WARNING  Compiled with 4 warnings9:42:17 PM


  ✘  http://eslint.org/docs/rules/no-mixed-spaces-and-tabs  Mixed spaces and tabs
  src\App.vue:4:2
        <router-view></router-view>
    ^

  ✘  http://eslint.org/docs/rules/no-tabs                   Unexpected tab character
  src\App.vue:4:6
        <router-view></router-view>
         ^

  ✘  http://eslint.org/docs/rules/no-mixed-spaces-and-tabs  Mixed spaces and tabs
  src\App.vue:7:2
        <c-tabbar/>
    ^

  ✘  http://eslint.org/docs/rules/no-tabs                   Unexpected tab character
  src\App.vue:7:6
        <c-tabbar/>
         ^

  ✘  http://eslint.org/docs/rules/no-multiple-empty-lines   More than 1 blank line not allowed
  src\App.vue:12:1

   ^

  ✘  https://google.com/#q=vue%2Fscript-indent              Expected indentation of 2 spaces but found 3 spaces
  src\App.vue:16:1
     import CTabbar from 'components/tabbar';
   ^

  ✘  https://google.com/#q=vue%2Fscript-indent              Expected indentation of 2 spaces but found 3 spaces
  src\App.vue:17:1
     export default {
   ^

  ✘  http://eslint.org/docs/rules/no-mixed-spaces-and-tabs  Mixed spaces and tabs
  src\App.vue:20:2
        CTabbar
    ^

  ✘  https://google.com/#q=vue%2Fscript-indent              Expected " " character, but found "\t" character
  src\App.vue:20:5
        CTabbar
        ^

  ✘  http://eslint.org/docs/rules/no-tabs                   Unexpected tab character
  src\App.vue:20:6
        CTabbar
         ^

  ✘  http://eslint.org/docs/rules/no-multiple-empty-lines   Too many blank lines at the end of file. Max of 0 allowed
  src\App.vue:24:1

   ^


✘ 11 problems (11 errors, 0 warnings)


Errors:
  3  https://google.com/#q=vue%2Fscript-indent
  3  http://eslint.org/docs/rules/no-tabs
  3  http://eslint.org/docs/rules/no-mixed-spaces-and-tabs
  2  http://eslint.org/docs/rules/no-multiple-empty-lines


  ✘  http://eslint.org/docs/rules/no-trailing-spaces       Trailing spaces not allowed
  src\components\tabbar\index.vue:34:1

        ^

  ✘  http://eslint.org/docs/rules/no-multiple-empty-lines  More than 1 blank line not allowed
  src\components\tabbar\index.vue:34:1

        ^

  ✘  http://eslint.org/docs/rules/no-tabs                  Unexpected tab character
  src\components\tabbar\index.vue:34:2

         ^

  ✘  http://eslint.org/docs/rules/eol-last                 Newline required at end of file but not found
  src\components\tabbar\index.vue:36:9
  </style>
           ^


✘ 4 problems (4 errors, 0 warnings)


Errors:
  1  http://eslint.org/docs/rules/eol-last
  1  http://eslint.org/docs/rules/no-tabs
  1  http://eslint.org/docs/rules/no-multiple-empty-lines
  1  http://eslint.org/docs/rules/no-trailing-spaces


  ✘  http://eslint.org/docs/rules/no-trailing-spaces  Trailing spaces not allowed
  src\pages\search\index.vue:1:11
  <template>
             ^

  ✘  http://eslint.org/docs/rules/no-trailing-spaces  Trailing spaces not allowed
  src\pages\search\index.vue:2:25
      <div class="search">
                           ^

  ✘  http://eslint.org/docs/rules/no-trailing-spaces  Trailing spaces not allowed
  src\pages\search\index.vue:4:11
      </div>
             ^

  ✘  http://eslint.org/docs/rules/no-trailing-spaces  Trailing spaces not allowed
  src\pages\search\index.vue:8:1

   ^

  ✘  http://eslint.org/docs/rules/no-trailing-spaces  Trailing spaces not allowed
  src\pages\search\index.vue:15:1

   ^


✘ 5 problems (5 errors, 0 warnings)


Errors:
  5  http://eslint.org/docs/rules/no-trailing-spaces


  ✘  http://eslint.org/docs/rules/no-unused-vars  'Product' is defined but never used
  src\router\index.js:8:8
  import Product from 'pages/product';
          ^


✘ 1 problem (1 error, 0 warnings)


Errors:
  1  http://eslint.org/docs/rules/no-unused-vars

You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.


写回答

1回答

好帮手慕糖

2019-07-31

同学你好,下面这个是eslint的代码规范问题哦,比如有的分号没加呀,需要留一个空格呀这种eslint检测到也会是出一堆这种提示的。

不过这个不影响运行,可以直接在浏览器中输入http://localhost:8080 访问下哦。

希望能帮助到你,祝学习愉快!

0

0 学习 · 10739 问题

查看课程