天呐,终于运行出了一个大项目----里头有个大bug:RROR Error: Cannot find module ‘vue-,解决办法是重新下载 cnpm i -D vue-loader-v16
npm WARN @babel/plugin-syntax-dynamic-import@7.8.3 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.npm WARN @babel/plugin-syntax-export-names
·
npm WARN @babel/plugin-syntax-dynamic-import@7.8.3 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-export-namespace-from@7.8.3 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-json-strings@7.8.3 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-logical-assignment-operators@7.10.4 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-nullish-coalescing-operator@7.8.3 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-numeric-separator@7.10.4 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-object-rest-spread@7.8.3 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-optional-catch-binding@7.8.3 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-optional-chaining@7.8.3 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-top-level-await@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-arrow-functions@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-async-to-generator@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-block-scoped-functions@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-block-scoping@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-classes@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-computed-properties@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-destructuring@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-dotall-regex@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/helper-create-regexp-features-plugin@7.12.17 requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-duplicate-keys@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-exponentiation-operator@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-for-of@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-function-name@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-literals@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-member-expression-literals@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-modules-amd@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-modules-commonjs@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-modules-systemjs@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-modules-umd@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-named-capturing-groups-regex@7.12.13 requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/helper-create-regexp-features-plugin@7.12.17 requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-new-target@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-object-super@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-parameters@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-property-literals@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-regenerator@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-reserved-words@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-shorthand-properties@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-spread@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-sticky-regex@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-template-literals@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-typeof-symbol@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-unicode-escapes@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-unicode-regex@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/helper-create-regexp-features-plugin@7.12.17 requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/preset-modules@0.1.4 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-unicode-property-regex@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-dotall-regex@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-jsx@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/babel-plugin-transform-vue-jsx@1.2.1 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-jsx@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/babel-sugar-composition-api-inject-h@1.2.1 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-jsx@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/babel-sugar-composition-api-render-instance@1.2.4 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-jsx@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/babel-sugar-functional-vue@1.2.2 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-jsx@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/babel-sugar-inject-h@1.2.2 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-jsx@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/babel-sugar-v-model@1.2.3 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-jsx@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/babel-plugin-transform-vue-jsx@1.2.1 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/babel-sugar-v-on@1.2.3 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-jsx@7.12.13 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/babel-plugin-transform-vue-jsx@1.2.1 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/cli-plugin-eslint@4.5.11 requires a peer of eslint@>= 1.6.0 < 7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-loader@2.2.1 requires a peer of eslint@>=1.6.0 <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN webpack-dev-middleware@3.7.3 requires a peer of webpack@^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN babel-eslint@11.0.0-beta.2 requires a peer of @babel/core@>=7.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN filemanager-webpack-plugin@3.1.0 requires a peer of webpack@^4 || ^5 but none is installed. You must install peer dependencies yourself.
npm WARN less-loader@7.3.0 requires a peer of webpack@^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN webpackbar@5.0.0-3 requires a peer of webpack@3 || 4 || 5 but none is installed. You must install peer dependencies yourself.
npm ERR! code ENOENT
npm ERR! syscall rename
npm ERR! path /Users/ivyone/vue-admin-beautiful/node_modules/@ant-design/icons-vue/node_modules/@ant-design/colors/node_modules/@ctrl/tinycolor
npm ERR! dest /Users/ivyone/vue-admin-beautiful/node_modules/@ant-design/icons-vue/node_modules/@ant-design/colors/node_modules/@ctrl/tinycolor
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, rename '/Users/ivyone/vue-admin-beautiful/node_modules/@ant-design/icons-vue/node_modules/@ant-design/colors/node_modules/@ctrl/tinycolor' -> '/Users/ivyone/vue-admin-beautiful/node_modules/@ant-design/icons-vue/node_modules/@ant-design/colors/node_modules/@ctrl/tinycolor'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ivyone/.npm/_logs/2021-02-20T15_08_58_862Z-debug.log
ivyone@ivyonedeMacBook-Pro vue-admin-beautiful % cnpm run serve
> vue-admin-beautiful-antdv@1.0.0 serve /Users/ivyone/vue-admin-beautiful
> vue-cli-service serve
sh: vue-cli-service: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! vue-admin-beautiful-antdv@1.0.0 serve: `vue-cli-service serve`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the vue-admin-beautiful-antdv@1.0.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ivyone/.npm/_logs/2021-02-20T15_09_15_230Z-debug.log
ivyone@ivyonedeMacBook-Pro vue-admin-beautiful % cnpm install
⠙ [14/35] Installing lodash@^4.17.14[vue-loader-v16@npm:vue-loader@^16.1.0] optional install error: Error: Unsupported URL Type: npm:vue-loader@^16.1.0
at parseUrl (/usr/local/lib/node_modules/cnpm/node_modules/npm-package-arg/npa.js:186:13)
at npa (/usr/local/lib/node_modules/cnpm/node_modules/npm-package-arg/npa.js:79:12)
at _install (/usr/local/lib/node_modules/cnpm/node_modules/npminstall/lib/install.js:62:11)
at _install.next (<anonymous>)
at onFulfilled (/usr/local/lib/node_modules/cnpm/node_modules/co/index.js:65:19)
at /usr/local/lib/node_modules/cnpm/node_modules/co/index.js:54:5
at new Promise (<anonymous>)
at co (/usr/local/lib/node_modules/cnpm/node_modules/co/index.js:50:10)
at toPromise (/usr/local/lib/node_modules/cnpm/node_modules/co/index.js:118:63)
at next (/usr/local/lib/node_modules/cnpm/node_modules/co/index.js:99:29)
✔ Installed 35 packages
✔ Linked 1247 latest versions
[1/10] scripts.install @vue/cli-plugin-eslint@4.5.11 › yorkie@^2.0.0 run "node bin/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_yorkie@2.0.0@yorkie"
setting up Git hooks
done
[1/10] scripts.install @vue/cli-plugin-eslint@4.5.11 › yorkie@^2.0.0 finished in 98ms
[2/10] scripts.install @vue/cli-plugin-babel@4.5.11 › webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@2.1.8 › fsevents@^1.2.7 run "node install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_fsevents@1.2.13@fsevents"
gyp WARN EACCES user "ivyone" does not have permission to access the dev dir "/Users/ivyone/.node-gyp/14.15.5"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/var/folders/l9/kpwnx6f551d69kvflqcjbnsr0000gn/T/.node-gyp"
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/cnpm/node_modules/node-gyp/lib/configure.js:345:16)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Darwin 20.3.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/cnpm/node_modules/npminstall/node-gyp-bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/ivyone/vue-admin-beautiful/node_modules/_fsevents@1.2.13@fsevents
gyp ERR! node -v v14.15.5
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
[2/10] scripts.install @vue/cli-plugin-babel@4.5.11 › webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@2.1.8 › fsevents@^1.2.7 finished in 1s
[3/10] scripts.postinstall @vue/cli-service@4.5.11 › webpack-bundle-analyzer@3.9.0 › ejs@^2.6.1 run "node ./postinstall.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_ejs@2.7.4@ejs"
Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)
[3/10] scripts.postinstall @vue/cli-service@4.5.11 › webpack-bundle-analyzer@3.9.0 › ejs@^2.6.1 finished in 63ms
[4/10] scripts.postinstall core-js@^3.8.3 run "node -e \"try{require('./postinstall')}catch(e){}\"", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_core-js@3.9.0@core-js"
[4/10] scripts.postinstall core-js@^3.8.3 finished in 61ms
[5/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-pngquant@9.0.1 › pngquant-bin@^6.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_pngquant-bin@6.0.0@pngquant-bin"
✔ pngquant pre-build test passed successfully
[5/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-pngquant@9.0.1 › pngquant-bin@^6.0.0 finished in 2s
[6/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-gifsicle@7.0.0 › gifsicle@^5.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_gifsicle@5.1.0@gifsicle"
✔ gifsicle pre-build test passed successfully
[6/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-gifsicle@7.0.0 › gifsicle@^5.0.0 finished in 764ms
[7/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-mozjpeg@9.0.0 › mozjpeg@^7.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_mozjpeg@7.0.0@mozjpeg"
✔ mozjpeg pre-build test passed successfully
[7/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-mozjpeg@9.0.0 › mozjpeg@^7.0.0 finished in 1s
[8/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-optipng@8.0.0 › optipng-bin@^7.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_optipng-bin@7.0.0@optipng-bin"
✔ optipng pre-build test passed successfully
[8/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-optipng@8.0.0 › optipng-bin@^7.0.0 finished in 799ms
[9/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-webp@6.0.0 › cwebp-bin@^5.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_cwebp-bin@5.1.0@cwebp-bin"
✔ cwebp pre-build test passed successfully
[9/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-webp@6.0.0 › cwebp-bin@^5.0.0 finished in 1s
[10/10] scripts.postinstall ant-design-vue@2.0.0-rc.9 run "node scripts/postinstall || echo \"ignore\"", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_ant-design-vue@2.0.0-rc.9@ant-design-vue"
Thank you for using ant-design-vue ( https://github.com/vueComponent/ant-design-vue )!
The project needs your help! Please consider supporting of ant-design-vue on Open Collective or Patreon:
> https://opencollective.com/ant-design-vue
> https://www.patreon.com/tangjinzhou
更多赞助方式(支付宝、微信、Paypal)请查看如下链接:
> https://www.antdv.com/docs/vue/sponsor-cn
Ant Design Vue 官方网站:
> https://www.antdv.com/
[10/10] scripts.postinstall ant-design-vue@2.0.0-rc.9 finished in 65ms
✔ Run 10 scripts
peerDependencies link ajv@6.12.6 in /Users/ivyone/vue-admin-beautiful/node_modules/_ajv-keywords@3.5.2@ajv-keywords unmet with /Users/ivyone/vue-admin-beautiful/node_modules/ajv(7.1.1)
peerDependencies link ajv@6.12.6 in /Users/ivyone/vue-admin-beautiful/node_modules/_ajv-errors@1.0.1@ajv-errors unmet with /Users/ivyone/vue-admin-beautiful/node_modules/ajv(7.1.1)
peerDependencies WARNING @vue/cli-service@^4.5.9 requires a peer of vue-template-compiler@^2.0.0 but none was installed
peerDependencies WARNING @vue/cli-plugin-eslint@^4.5.9 requires a peer of eslint@>= 1.6.0 < 7.0.0 but eslint@7.20.0 was installed
peerDependencies WARNING @vue/cli-plugin-eslint@4.5.11 › eslint-loader@^2.2.1 requires a peer of eslint@>=1.6.0 <7.0.0 but eslint@7.20.0 was installed
deprecate @vue/cli-plugin-eslint@4.5.11 › eslint-loader@^2.2.1 This loader has been deprecated. Please use eslint-webpack-plugin
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › request@^2.88.2 request has been deprecated, see https://github.com/request/request/issues/3142
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@^15.0.1 joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › request@2.88.2 › har-validator@~5.1.3 this library is no longer supported
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@15.1.1 › @hapi/bourne@1.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@15.1.1 › @hapi/topo@3.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@15.1.1 › @hapi/address@2.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@15.1.1 › @hapi/hoek@8.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-service@4.5.11 › @vue/preload-webpack-plugin@1.1.2 › html-webpack-plugin@^3.2.0 3.x is no longer supported
deprecate @vue/cli-plugin-eslint@4.5.11 › globby@9.2.0 › fast-glob@2.2.7 › micromatch@3.1.10 › braces@2.3.2 › snapdragon@0.8.2 › source-map-resolve@0.5.3 › urix@^0.1.0 Please see https://github.com/lydell/urix#deprecated
deprecate @vue/cli-plugin-babel@4.5.11 › webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@^2.1.8 Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
deprecate @vue/cli-plugin-babel@4.5.11 › webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@2.1.8 › fsevents@^1.2.7 fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
Recently updated (since 2021-02-13): 37 packages (detail see file /Users/ivyone/vue-admin-beautiful/node_modules/.recently_updates.txt)
Today:
→ @vue/cli-plugin-babel@4.5.11 › @vue/babel-preset-app@4.5.11 › @babel/helper-compilation-targets@7.12.17 › browserslist@4.16.3 › electron-to-chromium@^1.3.649(1.3.671) (11:02:36)
→ @vue/cli-plugin-eslint@4.5.11 › globby@9.2.0 › @types/glob@7.1.3 › @types/node@*(14.14.31) (02:02:23)
→ @vue/eslint-config-prettier@6.0.0 › eslint@7.20.0 › file-entry-cache@^6.0.0(6.0.1) (12:10:56)
→ @vue/cli-plugin-babel@4.5.11 › @vue/babel-preset-app@4.5.11 › @babel/helper-compilation-targets@7.12.17 › browserslist@4.16.3 › caniuse-lite@^1.0.30001181(1.0.30001190) (13:33:08)
→ stylelint@^13.9.0(13.11.0) (18:48:40)
✔ All packages installed (1538 packages installed from npm registry, used 25s(network 17s), speed 190.79kB/s, json 1282(3.23MB), tarball 0B)
ivyone@ivyonedeMacBook-Pro vue-admin-beautiful % cnpm run serve
> vue-admin-beautiful-antdv@1.0.0 serve /Users/ivyone/vue-admin-beautiful
> vue-cli-service serve
> 欢迎使用vue-admin-beautiful,开源地址:https://github.com/chuzhixin/vue-admin-beautiful
> pro版演示地址:http://chu1204505056.gitee.io/vue-admin-beautiful-pro?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=
> vue 2.x版本演示地址(MIT协议免费商用):http://chu1204505056.gitee.io/vue-admin-beautiful?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=
> vue3.X版演示地址(element-plus 后期主线版本MIT协议免费商用):即将发布请关注github vue-admin-beautiful动态
> vue3.X版演示地址(andv MIT协议免费商用):http://chu1204505056.gitee.io/vue-admin-beautiful-antdv?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=
> 使用中出现任何问题可加QQ群反馈,获取文档(群号:972435319,1139183756)
> 如果您不希望显示以上信息,可在config中配置关闭
INFO Starting development server...
ERROR Error: Cannot find module 'vue-loader-v16/package.json'
Require stack:
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/config/base.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/bin/vue-cli-service.js
Error: Cannot find module 'vue-loader-v16/package.json'
Require stack:
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/config/base.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/bin/vue-cli-service.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/config/base.js:114:23
at /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js:236:40
at Array.forEach (<anonymous>)
at Service.resolveChainableWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js:236:26)
at Service.resolveWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js:240:48)
at PluginAPI.resolveWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/PluginAPI.js:132:25)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vue-admin-beautiful-antdv@1.0.0 serve: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vue-admin-beautiful-antdv@1.0.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ivyone/.npm/_logs/2021-02-20T15_10_03_125Z-debug.log
ivyone@ivyonedeMacBook-Pro vue-admin-beautiful % cnpm install
⠏ [14/35] Installing minimalistic-crypto-utils@^1.0.1[vue-loader-v16@npm:vue-loader@^16.1.0] optional install error: Error: Unsupported URL Type: npm:vue-loader@^16.1.0
at parseUrl (/usr/local/lib/node_modules/cnpm/node_modules/npm-package-arg/npa.js:186:13)
at npa (/usr/local/lib/node_modules/cnpm/node_modules/npm-package-arg/npa.js:79:12)
at _install (/usr/local/lib/node_modules/cnpm/node_modules/npminstall/lib/install.js:62:11)
at _install.next (<anonymous>)
at onFulfilled (/usr/local/lib/node_modules/cnpm/node_modules/co/index.js:65:19)
at /usr/local/lib/node_modules/cnpm/node_modules/co/index.js:54:5
at new Promise (<anonymous>)
at co (/usr/local/lib/node_modules/cnpm/node_modules/co/index.js:50:10)
at toPromise (/usr/local/lib/node_modules/cnpm/node_modules/co/index.js:118:63)
at next (/usr/local/lib/node_modules/cnpm/node_modules/co/index.js:99:29)
✔ Installed 35 packages
✔ Linked 1247 latest versions
[1/10] scripts.install @vue/cli-plugin-eslint@4.5.11 › yorkie@^2.0.0 run "node bin/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_yorkie@2.0.0@yorkie"
setting up Git hooks
done
[1/10] scripts.install @vue/cli-plugin-eslint@4.5.11 › yorkie@^2.0.0 finished in 112ms
[2/10] scripts.install @vue/cli-plugin-babel@4.5.11 › webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@2.1.8 › fsevents@^1.2.7 run "node install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_fsevents@1.2.13@fsevents"
gyp WARN EACCES user "ivyone" does not have permission to access the dev dir "/Users/ivyone/.node-gyp/14.15.5"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/var/folders/l9/kpwnx6f551d69kvflqcjbnsr0000gn/T/.node-gyp"
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/cnpm/node_modules/node-gyp/lib/configure.js:345:16)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Darwin 20.3.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/cnpm/node_modules/npminstall/node-gyp-bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/ivyone/vue-admin-beautiful/node_modules/_fsevents@1.2.13@fsevents
gyp ERR! node -v v14.15.5
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
[2/10] scripts.install @vue/cli-plugin-babel@4.5.11 › webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@2.1.8 › fsevents@^1.2.7 finished in 1s
[3/10] scripts.postinstall @vue/cli-service@4.5.11 › webpack-bundle-analyzer@3.9.0 › ejs@^2.6.1 run "node ./postinstall.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_ejs@2.7.4@ejs"
Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)
[3/10] scripts.postinstall @vue/cli-service@4.5.11 › webpack-bundle-analyzer@3.9.0 › ejs@^2.6.1 finished in 65ms
[4/10] scripts.postinstall core-js@^3.8.3 run "node -e \"try{require('./postinstall')}catch(e){}\"", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_core-js@3.9.0@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 -)
[4/10] scripts.postinstall core-js@^3.8.3 finished in 77ms
[5/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-webp@6.0.0 › cwebp-bin@^5.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_cwebp-bin@5.1.0@cwebp-bin"
✔ cwebp pre-build test passed successfully
[5/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-webp@6.0.0 › cwebp-bin@^5.0.0 finished in 2s
[6/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-gifsicle@7.0.0 › gifsicle@^5.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_gifsicle@5.1.0@gifsicle"
✔ gifsicle pre-build test passed successfully
[6/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-gifsicle@7.0.0 › gifsicle@^5.0.0 finished in 767ms
[7/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-mozjpeg@9.0.0 › mozjpeg@^7.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_mozjpeg@7.0.0@mozjpeg"
✔ mozjpeg pre-build test passed successfully
[7/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-mozjpeg@9.0.0 › mozjpeg@^7.0.0 finished in 886ms
[8/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-optipng@8.0.0 › optipng-bin@^7.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_optipng-bin@7.0.0@optipng-bin"
✔ optipng pre-build test passed successfully
[8/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-optipng@8.0.0 › optipng-bin@^7.0.0 finished in 1s
[9/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-pngquant@9.0.1 › pngquant-bin@^6.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_pngquant-bin@6.0.0@pngquant-bin"
✔ pngquant pre-build test passed successfully
[9/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-pngquant@9.0.1 › pngquant-bin@^6.0.0 finished in 961ms
[10/10] scripts.postinstall ant-design-vue@2.0.0-rc.9 run "node scripts/postinstall || echo \"ignore\"", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_ant-design-vue@2.0.0-rc.9@ant-design-vue"
Thank you for using ant-design-vue ( https://github.com/vueComponent/ant-design-vue )!
The project needs your help! Please consider supporting of ant-design-vue on Open Collective or Patreon:
> https://opencollective.com/ant-design-vue
> https://www.patreon.com/tangjinzhou
更多赞助方式(支付宝、微信、Paypal)请查看如下链接:
> https://www.antdv.com/docs/vue/sponsor-cn
Ant Design Vue 官方网站:
> https://www.antdv.com/
[10/10] scripts.postinstall ant-design-vue@2.0.0-rc.9 finished in 69ms
✔ Run 10 scripts
peerDependencies link ajv@6.12.6 in /Users/ivyone/vue-admin-beautiful/node_modules/_ajv-keywords@3.5.2@ajv-keywords unmet with /Users/ivyone/vue-admin-beautiful/node_modules/ajv(7.1.1)
peerDependencies link ajv@6.12.6 in /Users/ivyone/vue-admin-beautiful/node_modules/_ajv-errors@1.0.1@ajv-errors unmet with /Users/ivyone/vue-admin-beautiful/node_modules/ajv(7.1.1)
peerDependencies WARNING @vue/cli-plugin-eslint@^4.5.9 requires a peer of eslint@>= 1.6.0 < 7.0.0 but eslint@7.20.0 was installed
peerDependencies WARNING @vue/cli-service@^4.5.9 requires a peer of vue-template-compiler@^2.0.0 but none was installed
peerDependencies WARNING @vue/cli-plugin-eslint@4.5.11 › eslint-loader@^2.2.1 requires a peer of eslint@>=1.6.0 <7.0.0 but eslint@7.20.0 was installed
deprecate @vue/cli-plugin-eslint@4.5.11 › eslint-loader@^2.2.1 This loader has been deprecated. Please use eslint-webpack-plugin
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › request@^2.88.2 request has been deprecated, see https://github.com/request/request/issues/3142
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@^15.0.1 joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › request@2.88.2 › har-validator@~5.1.3 this library is no longer supported
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@15.1.1 › @hapi/topo@3.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@15.1.1 › @hapi/bourne@1.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@15.1.1 › @hapi/address@2.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@15.1.1 › @hapi/hoek@8.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-service@4.5.11 › @vue/preload-webpack-plugin@1.1.2 › html-webpack-plugin@^3.2.0 3.x is no longer supported
deprecate @vue/cli-plugin-eslint@4.5.11 › globby@9.2.0 › fast-glob@2.2.7 › micromatch@3.1.10 › snapdragon@0.8.2 › source-map-resolve@0.5.3 › urix@^0.1.0 Please see https://github.com/lydell/urix#deprecated
deprecate @vue/cli-plugin-babel@4.5.11 › webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@^2.1.8 Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
deprecate @vue/cli-plugin-babel@4.5.11 › webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@2.1.8 › fsevents@^1.2.7 fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
Recently updated (since 2021-02-13): 37 packages (detail see file /Users/ivyone/vue-admin-beautiful/node_modules/.recently_updates.txt)
Today:
→ @vue/cli-plugin-babel@4.5.11 › @vue/babel-preset-app@4.5.11 › @babel/helper-compilation-targets@7.12.17 › browserslist@4.16.3 › electron-to-chromium@^1.3.649(1.3.671) (11:02:36)
→ @vue/cli-service@4.5.11 › @types/webpack@4.41.26 › @types/node@*(14.14.31) (02:02:23)
→ @vue/eslint-config-prettier@6.0.0 › eslint@7.20.0 › file-entry-cache@^6.0.0(6.0.1) (12:10:56)
→ @vue/cli-plugin-babel@4.5.11 › @vue/babel-preset-app@4.5.11 › @babel/helper-compilation-targets@7.12.17 › browserslist@4.16.3 › caniuse-lite@^1.0.30001181(1.0.30001190) (13:33:08)
→ stylelint@^13.9.0(13.11.0) (18:48:40)
✔ All packages installed (1538 packages installed from npm registry, used 28s(network 20s), speed 163.48kB/s, json 1282(3.23MB), tarball 0B)
ivyone@ivyonedeMacBook-Pro vue-admin-beautiful % cnpm run serve
> vue-admin-beautiful-antdv@1.0.0 serve /Users/ivyone/vue-admin-beautiful
> vue-cli-service serve
> 欢迎使用vue-admin-beautiful,开源地址:https://github.com/chuzhixin/vue-admin-beautiful
> pro版演示地址:http://chu1204505056.gitee.io/vue-admin-beautiful-pro?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=
> vue 2.x版本演示地址(MIT协议免费商用):http://chu1204505056.gitee.io/vue-admin-beautiful?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=
> vue3.X版演示地址(element-plus 后期主线版本MIT协议免费商用):即将发布请关注github vue-admin-beautiful动态
> vue3.X版演示地址(andv MIT协议免费商用):http://chu1204505056.gitee.io/vue-admin-beautiful-antdv?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=
> 使用中出现任何问题可加QQ群反馈,获取文档(群号:972435319,1139183756)
> 如果您不希望显示以上信息,可在config中配置关闭
INFO Starting development server...
ERROR Error: Cannot find module 'vue-loader-v16/package.json'
Require stack:
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/config/base.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/bin/vue-cli-service.js
Error: Cannot find module 'vue-loader-v16/package.json'
Require stack:
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/config/base.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/bin/vue-cli-service.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/config/base.js:114:23
at /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js:236:40
at Array.forEach (<anonymous>)
at Service.resolveChainableWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js:236:26)
at Service.resolveWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js:240:48)
at PluginAPI.resolveWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/PluginAPI.js:132:25)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vue-admin-beautiful-antdv@1.0.0 serve: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vue-admin-beautiful-antdv@1.0.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ivyone/.npm/_logs/2021-02-20T15_12_58_949Z-debug.log
ivyone@ivyonedeMacBook-Pro vue-admin-beautiful % vue-cli-service serve
zsh: command not found: vue-cli-service
ivyone@ivyonedeMacBook-Pro vue-admin-beautiful % cnpm run build
> vue-admin-beautiful-antdv@1.0.0 build /Users/ivyone/vue-admin-beautiful
> vue-cli-service build
> 欢迎使用vue-admin-beautiful,开源地址:https://github.com/chuzhixin/vue-admin-beautiful
> pro版演示地址:http://chu1204505056.gitee.io/vue-admin-beautiful-pro?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=
> vue 2.x版本演示地址(MIT协议免费商用):http://chu1204505056.gitee.io/vue-admin-beautiful?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=
> vue3.X版演示地址(element-plus 后期主线版本MIT协议免费商用):即将发布请关注github vue-admin-beautiful动态
> vue3.X版演示地址(andv MIT协议免费商用):http://chu1204505056.gitee.io/vue-admin-beautiful-antdv?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=
> 使用中出现任何问题可加QQ群反馈,获取文档(群号:972435319,1139183756)
> 如果您不希望显示以上信息,可在config中配置关闭
✔ Building for production...
ERROR Error: Cannot find module 'vue-loader-v16/package.json'
Require stack:
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/config/base.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/bin/vue-cli-service.js
Error: Cannot find module 'vue-loader-v16/package.json'
Require stack:
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/config/base.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/bin/vue-cli-service.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/config/base.js:114:23
at /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js:236:40
at Array.forEach (<anonymous>)
at Service.resolveChainableWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js:236:26)
at PluginAPI.resolveChainableWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/PluginAPI.js:145:25)
at module.exports (/Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/commands/build/resolveAppConfig.js:9:22)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vue-admin-beautiful-antdv@1.0.0 build: `vue-cli-service build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vue-admin-beautiful-antdv@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ivyone/.npm/_logs/2021-02-20T15_13_38_240Z-debug.log
ivyone@ivyonedeMacBook-Pro vue-admin-beautiful % yarn add vue-loader
yarn add v1.22.10
info No lockfile found.
[1/4] 🔍 Resolving packages...
warning @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
warning @vue/cli-plugin-babel > @vue/cli-shared-utils > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
warning @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
warning @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
warning @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
warning @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
warning @vue/cli-plugin-babel > @vue/cli-shared-utils > request > har-validator@5.1.5: this library is no longer supported
warning @vue/cli-plugin-babel > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @vue/cli-plugin-babel > webpack > watchpack > watchpack-chokidar2 > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning @vue/cli-plugin-babel > webpack > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @vue/cli-plugin-eslint > eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin
warning @vue/cli-service > html-webpack-plugin@3.2.0: 3.x is no longer supported
warning @vue/cli-service > webpack-dev-server > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning " > @vue/cli-plugin-eslint@4.5.11" has incorrect peer dependency "eslint@>= 1.6.0 < 7.0.0".
warning "@vue/cli-plugin-eslint > eslint-loader@2.2.1" has incorrect peer dependency "eslint@>=1.6.0 <7.0.0".
warning " > vue-loader@15.9.6" has unmet peer dependency "css-loader@*".
warning " > vue-loader@15.9.6" has unmet peer dependency "webpack@^3.0.0 || ^4.1.0 || ^5.0.0-0".
warning " > babel-eslint@11.0.0-beta.2" has unmet peer dependency "@babel/core@>=7.2.0".
warning " > filemanager-webpack-plugin@3.1.0" has unmet peer dependency "webpack@^4 || ^5".
warning " > less-loader@7.3.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning " > webpackbar@5.0.0-3" has unmet peer dependency "webpack@3 || 4 || 5".
warning " > vue-loader@15.9.6" has unmet peer dependency "css-loader@*".
warning " > vue-loader@15.9.6" has unmet peer dependency "webpack@^3.0.0 || ^4.1.0 || ^5.0.0-0".
error An unexpected error occurred: "EINVAL: invalid argument, unlink '/Users/ivyone/vue-admin-beautiful/node_modules/ora/node_modules/log-symbols'".
info If you think this is a bug, please open a bug report with the information provided in "/Users/ivyone/vue-admin-beautiful/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
ivyone@ivyonedeMacBook-Pro vue-admin-beautiful % cnpm run serve
> vue-admin-beautiful-antdv@1.0.0 serve /Users/ivyone/vue-admin-beautiful
> vue-cli-service serve
internal/modules/cjs/loader.js:883
throw err;
^
Error: Cannot find module 'cli-cursor'
Require stack:
- /Users/ivyone/vue-admin-beautiful/node_modules/_ora@3.4.0@ora/index.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-shared-utils@4.5.11@@vue/cli-shared-utils/lib/spinner.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-shared-utils@4.5.11@@vue/cli-shared-utils/lib/logger.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-shared-utils@4.5.11@@vue/cli-shared-utils/index.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/bin/vue-cli-service.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/Users/ivyone/vue-admin-beautiful/node_modules/_ora@3.4.0@ora/index.js:3:19)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/ivyone/vue-admin-beautiful/node_modules/_ora@3.4.0@ora/index.js',
'/Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-shared-utils@4.5.11@@vue/cli-shared-utils/lib/spinner.js',
'/Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-shared-utils@4.5.11@@vue/cli-shared-utils/lib/logger.js',
'/Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-shared-utils@4.5.11@@vue/cli-shared-utils/index.js',
'/Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/bin/vue-cli-service.js'
]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vue-admin-beautiful-antdv@1.0.0 serve: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vue-admin-beautiful-antdv@1.0.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ivyone/.npm/_logs/2021-02-20T15_14_58_456Z-debug.log
ivyone@ivyonedeMacBook-Pro vue-admin-beautiful % cnpm install
⠦ [15/35] Installing lodash@^4.17.15[vue-loader-v16@npm:vue-loader@^16.1.0] optional install error: Error: Unsupported URL Type: npm:vue-loader@^16.1.0
at parseUrl (/usr/local/lib/node_modules/cnpm/node_modules/npm-package-arg/npa.js:186:13)
at npa (/usr/local/lib/node_modules/cnpm/node_modules/npm-package-arg/npa.js:79:12)
at _install (/usr/local/lib/node_modules/cnpm/node_modules/npminstall/lib/install.js:62:11)
at _install.next (<anonymous>)
at onFulfilled (/usr/local/lib/node_modules/cnpm/node_modules/co/index.js:65:19)
at /usr/local/lib/node_modules/cnpm/node_modules/co/index.js:54:5
at new Promise (<anonymous>)
at co (/usr/local/lib/node_modules/cnpm/node_modules/co/index.js:50:10)
at toPromise (/usr/local/lib/node_modules/cnpm/node_modules/co/index.js:118:63)
at next (/usr/local/lib/node_modules/cnpm/node_modules/co/index.js:99:29)
✔ Installed 35 packages
✔ Linked 1247 latest versions
[1/10] scripts.install @vue/cli-plugin-eslint@4.5.11 › yorkie@^2.0.0 run "node bin/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_yorkie@2.0.0@yorkie"
setting up Git hooks
done
[1/10] scripts.install @vue/cli-plugin-eslint@4.5.11 › yorkie@^2.0.0 finished in 110ms
[2/10] scripts.install @vue/cli-plugin-babel@4.5.11 › webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@2.1.8 › fsevents@^1.2.7 run "node install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_fsevents@1.2.13@fsevents"
gyp WARN EACCES user "ivyone" does not have permission to access the dev dir "/Users/ivyone/.node-gyp/14.15.5"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/var/folders/l9/kpwnx6f551d69kvflqcjbnsr0000gn/T/.node-gyp"
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/cnpm/node_modules/node-gyp/lib/configure.js:345:16)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Darwin 20.3.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/cnpm/node_modules/npminstall/node-gyp-bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/ivyone/vue-admin-beautiful/node_modules/_fsevents@1.2.13@fsevents
gyp ERR! node -v v14.15.5
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
[2/10] scripts.install @vue/cli-plugin-babel@4.5.11 › webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@2.1.8 › fsevents@^1.2.7 finished in 1s
[3/10] scripts.postinstall @vue/cli-service@4.5.11 › webpack-bundle-analyzer@3.9.0 › ejs@^2.6.1 run "node ./postinstall.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_ejs@2.7.4@ejs"
Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)
[3/10] scripts.postinstall @vue/cli-service@4.5.11 › webpack-bundle-analyzer@3.9.0 › ejs@^2.6.1 finished in 58ms
[4/10] scripts.postinstall core-js@^3.8.3 run "node -e \"try{require('./postinstall')}catch(e){}\"", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_core-js@3.9.0@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 -)
[4/10] scripts.postinstall core-js@^3.8.3 finished in 60ms
[5/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-gifsicle@7.0.0 › gifsicle@^5.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_gifsicle@5.1.0@gifsicle"
✔ gifsicle pre-build test passed successfully
[5/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-gifsicle@7.0.0 › gifsicle@^5.0.0 finished in 2s
[6/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-pngquant@9.0.1 › pngquant-bin@^6.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_pngquant-bin@6.0.0@pngquant-bin"
✔ pngquant pre-build test passed successfully
[6/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-pngquant@9.0.1 › pngquant-bin@^6.0.0 finished in 1s
[7/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-mozjpeg@9.0.0 › mozjpeg@^7.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_mozjpeg@7.0.0@mozjpeg"
✔ mozjpeg pre-build test passed successfully
[7/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-mozjpeg@9.0.0 › mozjpeg@^7.0.0 finished in 1s
[8/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-optipng@8.0.0 › optipng-bin@^7.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_optipng-bin@7.0.0@optipng-bin"
✔ optipng pre-build test passed successfully
[8/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-optipng@8.0.0 › optipng-bin@^7.0.0 finished in 753ms
[9/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-webp@6.0.0 › cwebp-bin@^5.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_cwebp-bin@5.1.0@cwebp-bin"
✔ cwebp pre-build test passed successfully
[9/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-webp@6.0.0 › cwebp-bin@^5.0.0 finished in 1s
[10/10] scripts.postinstall ant-design-vue@2.0.0-rc.9 run "node scripts/postinstall || echo \"ignore\"", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_ant-design-vue@2.0.0-rc.9@ant-design-vue"
Thank you for using ant-design-vue ( https://github.com/vueComponent/ant-design-vue )!
The project needs your help! Please consider supporting of ant-design-vue on Open Collective or Patreon:
> https://opencollective.com/ant-design-vue
> https://www.patreon.com/tangjinzhou
更多赞助方式(支付宝、微信、Paypal)请查看如下链接:
> https://www.antdv.com/docs/vue/sponsor-cn
Ant Design Vue 官方网站:
> https://www.antdv.com/
[10/10] scripts.postinstall ant-design-vue@2.0.0-rc.9 finished in 67ms
✔ Run 10 scripts
peerDependencies link ajv@6.12.6 in /Users/ivyone/vue-admin-beautiful/node_modules/_ajv-keywords@3.5.2@ajv-keywords unmet with /Users/ivyone/vue-admin-beautiful/node_modules/ajv(7.1.1)
peerDependencies link ajv@6.12.6 in /Users/ivyone/vue-admin-beautiful/node_modules/_ajv-errors@1.0.1@ajv-errors unmet with /Users/ivyone/vue-admin-beautiful/node_modules/ajv(7.1.1)
peerDependencies WARNING @vue/cli-service@^4.5.9 requires a peer of vue-template-compiler@^2.0.0 but none was installed
peerDependencies WARNING @vue/cli-plugin-eslint@^4.5.9 requires a peer of eslint@>= 1.6.0 < 7.0.0 but eslint@7.20.0 was installed
peerDependencies WARNING @vue/cli-plugin-eslint@4.5.11 › eslint-loader@^2.2.1 requires a peer of eslint@>=1.6.0 <7.0.0 but eslint@7.20.0 was installed
deprecate @vue/cli-plugin-eslint@4.5.11 › eslint-loader@^2.2.1 This loader has been deprecated. Please use eslint-webpack-plugin
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › request@^2.88.2 request has been deprecated, see https://github.com/request/request/issues/3142
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@^15.0.1 joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › request@2.88.2 › har-validator@~5.1.3 this library is no longer supported
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@15.1.1 › @hapi/topo@3.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@15.1.1 › @hapi/bourne@1.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@15.1.1 › @hapi/address@2.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@15.1.1 › @hapi/hoek@8.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-service@4.5.11 › @vue/preload-webpack-plugin@1.1.2 › html-webpack-plugin@^3.2.0 3.x is no longer supported
deprecate @vue/cli-plugin-eslint@4.5.11 › globby@9.2.0 › fast-glob@2.2.7 › micromatch@3.1.10 › snapdragon@0.8.2 › source-map-resolve@0.5.3 › urix@^0.1.0 Please see https://github.com/lydell/urix#deprecated
deprecate @vue/cli-plugin-babel@4.5.11 › webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@^2.1.8 Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
deprecate @vue/cli-plugin-babel@4.5.11 › webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@2.1.8 › fsevents@^1.2.7 fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
Recently updated (since 2021-02-13): 37 packages (detail see file /Users/ivyone/vue-admin-beautiful/node_modules/.recently_updates.txt)
Today:
→ @vue/cli-plugin-babel@4.5.11 › @vue/babel-preset-app@4.5.11 › @babel/helper-compilation-targets@7.12.17 › browserslist@4.16.3 › electron-to-chromium@^1.3.649(1.3.671) (11:02:36)
→ @vue/cli-service@4.5.11 › @types/webpack@4.41.26 › @types/node@*(14.14.31) (02:02:23)
→ @vue/eslint-config-prettier@6.0.0 › eslint@7.20.0 › file-entry-cache@^6.0.0(6.0.1) (12:10:56)
→ @vue/cli-plugin-babel@4.5.11 › @vue/babel-preset-app@4.5.11 › @babel/helper-compilation-targets@7.12.17 › browserslist@4.16.3 › caniuse-lite@^1.0.30001181(1.0.30001190) (13:33:08)
→ stylelint@^13.9.0(13.11.0) (18:48:40)
✔ All packages installed (1538 packages installed from npm registry, used 28s(network 19s), speed 170.98kB/s, json 1282(3.23MB), tarball 0B)
ivyone@ivyonedeMacBook-Pro vue-admin-beautiful % cnpm run serve
> vue-admin-beautiful-antdv@1.0.0 serve /Users/ivyone/vue-admin-beautiful
> vue-cli-service serve
> 欢迎使用vue-admin-beautiful,开源地址:https://github.com/chuzhixin/vue-admin-beautiful
> pro版演示地址:http://chu1204505056.gitee.io/vue-admin-beautiful-pro?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=
> vue 2.x版本演示地址(MIT协议免费商用):http://chu1204505056.gitee.io/vue-admin-beautiful?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=
> vue3.X版演示地址(element-plus 后期主线版本MIT协议免费商用):即将发布请关注github vue-admin-beautiful动态
> vue3.X版演示地址(andv MIT协议免费商用):http://chu1204505056.gitee.io/vue-admin-beautiful-antdv?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=
> 使用中出现任何问题可加QQ群反馈,获取文档(群号:972435319,1139183756)
> 如果您不希望显示以上信息,可在config中配置关闭
INFO Starting development server...
ERROR Error: Cannot find module 'vue-loader-v16/package.json'
Require stack:
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/config/base.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/bin/vue-cli-service.js
Error: Cannot find module 'vue-loader-v16/package.json'
Require stack:
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/config/base.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/bin/vue-cli-service.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/config/base.js:114:23
at /Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js:236:40
at Array.forEach (<anonymous>)
at Service.resolveChainableWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js:236:26)
at Service.resolveWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/Service.js:240:48)
at PluginAPI.resolveWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@vue_cli-service@4.5.11@@vue/cli-service/lib/PluginAPI.js:132:25)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vue-admin-beautiful-antdv@1.0.0 serve: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vue-admin-beautiful-antdv@1.0.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ivyone/.npm/_logs/2021-02-20T15_16_34_890Z-debug.log
ivyone@ivyonedeMacBook-Pro vue-admin-beautiful % cnpm i -D vue-loader-v16
✔ Installed 1 packages
✔ Linked 9 latest versions
✔ Run 0 scripts
✔ All packages installed (3 packages installed from npm registry, used 2s(network 2s), speed 27.39kB/s, json 10(27.84kB), tarball 26.63kB)
ivyone@ivyonedeMacBook-Pro vue-admin-beautiful % cnpm install
⠙ [14/36] Installing p-finally@^1.0.0[vue-loader-v16@npm:vue-loader@^16.1.0] optional install error: Error: Unsupported URL Type: npm:vue-loader@^16.1.0
at parseUrl (/usr/local/lib/node_modules/cnpm/node_modules/npm-package-arg/npa.js:186:13)
at npa (/usr/local/lib/node_modules/cnpm/node_modules/npm-package-arg/npa.js:79:12)
at _install (/usr/local/lib/node_modules/cnpm/node_modules/npminstall/lib/install.js:62:11)
at _install.next (<anonymous>)
at onFulfilled (/usr/local/lib/node_modules/cnpm/node_modules/co/index.js:65:19)
at /usr/local/lib/node_modules/cnpm/node_modules/co/index.js:54:5
at new Promise (<anonymous>)
at co (/usr/local/lib/node_modules/cnpm/node_modules/co/index.js:50:10)
at toPromise (/usr/local/lib/node_modules/cnpm/node_modules/co/index.js:118:63)
at next (/usr/local/lib/node_modules/cnpm/node_modules/co/index.js:99:29)
✔ Installed 36 packages
✔ Linked 1248 latest versions
[1/10] scripts.install @vue/cli-plugin-eslint@4.5.11 › yorkie@^2.0.0 run "node bin/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_yorkie@2.0.0@yorkie"
setting up Git hooks
done
[1/10] scripts.install @vue/cli-plugin-eslint@4.5.11 › yorkie@^2.0.0 finished in 103ms
[2/10] scripts.install @vue/cli-plugin-babel@4.5.11 › webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@2.1.8 › fsevents@^1.2.7 run "node install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_fsevents@1.2.13@fsevents"
gyp WARN EACCES user "ivyone" does not have permission to access the dev dir "/Users/ivyone/.node-gyp/14.15.5"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/var/folders/l9/kpwnx6f551d69kvflqcjbnsr0000gn/T/.node-gyp"
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/cnpm/node_modules/node-gyp/lib/configure.js:345:16)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Darwin 20.3.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/cnpm/node_modules/npminstall/node-gyp-bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/ivyone/vue-admin-beautiful/node_modules/_fsevents@1.2.13@fsevents
gyp ERR! node -v v14.15.5
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
[2/10] scripts.install @vue/cli-plugin-babel@4.5.11 › webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@2.1.8 › fsevents@^1.2.7 finished in 960ms
[3/10] scripts.postinstall @vue/cli-service@4.5.11 › webpack-bundle-analyzer@3.9.0 › ejs@^2.6.1 run "node ./postinstall.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_ejs@2.7.4@ejs"
Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)
[3/10] scripts.postinstall @vue/cli-service@4.5.11 › webpack-bundle-analyzer@3.9.0 › ejs@^2.6.1 finished in 58ms
[4/10] scripts.postinstall core-js@^3.8.3 run "node -e \"try{require('./postinstall')}catch(e){}\"", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_core-js@3.9.0@core-js"
[4/10] scripts.postinstall core-js@^3.8.3 finished in 61ms
[5/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-gifsicle@7.0.0 › gifsicle@^5.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_gifsicle@5.1.0@gifsicle"
✔ gifsicle pre-build test passed successfully
[5/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-gifsicle@7.0.0 › gifsicle@^5.0.0 finished in 2s
[6/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-mozjpeg@9.0.0 › mozjpeg@^7.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_mozjpeg@7.0.0@mozjpeg"
✔ mozjpeg pre-build test passed successfully
[6/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-mozjpeg@9.0.0 › mozjpeg@^7.0.0 finished in 884ms
[7/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-webp@6.0.0 › cwebp-bin@^5.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_cwebp-bin@5.1.0@cwebp-bin"
✔ cwebp pre-build test passed successfully
[7/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-webp@6.0.0 › cwebp-bin@^5.0.0 finished in 835ms
[8/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-optipng@8.0.0 › optipng-bin@^7.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_optipng-bin@7.0.0@optipng-bin"
✔ optipng pre-build test passed successfully
[8/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-optipng@8.0.0 › optipng-bin@^7.0.0 finished in 652ms
[9/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-pngquant@9.0.1 › pngquant-bin@^6.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_pngquant-bin@6.0.0@pngquant-bin"
✔ pngquant pre-build test passed successfully
[9/10] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-pngquant@9.0.1 › pngquant-bin@^6.0.0 finished in 918ms
[10/10] scripts.postinstall ant-design-vue@2.0.0-rc.9 run "node scripts/postinstall || echo \"ignore\"", root: "/Users/ivyone/vue-admin-beautiful/node_modules/_ant-design-vue@2.0.0-rc.9@ant-design-vue"
Thank you for using ant-design-vue ( https://github.com/vueComponent/ant-design-vue )!
The project needs your help! Please consider supporting of ant-design-vue on Open Collective or Patreon:
> https://opencollective.com/ant-design-vue
> https://www.patreon.com/tangjinzhou
更多赞助方式(支付宝、微信、Paypal)请查看如下链接:
> https://www.antdv.com/docs/vue/sponsor-cn
Ant Design Vue 官方网站:
> https://www.antdv.com/
[10/10] scripts.postinstall ant-design-vue@2.0.0-rc.9 finished in 61ms
✔ Run 10 scripts
peerDependencies link ajv@6.12.6 in /Users/ivyone/vue-admin-beautiful/node_modules/_ajv-keywords@3.5.2@ajv-keywords unmet with /Users/ivyone/vue-admin-beautiful/node_modules/ajv(7.1.1)
peerDependencies link ajv@6.12.6 in /Users/ivyone/vue-admin-beautiful/node_modules/_ajv-errors@1.0.1@ajv-errors unmet with /Users/ivyone/vue-admin-beautiful/node_modules/ajv(7.1.1)
peerDependencies WARNING @vue/cli-service@^4.5.9 requires a peer of vue-template-compiler@^2.0.0 but none was installed
peerDependencies WARNING @vue/cli-plugin-eslint@^4.5.9 requires a peer of eslint@>= 1.6.0 < 7.0.0 but eslint@7.20.0 was installed
peerDependencies WARNING @vue/cli-plugin-eslint@4.5.11 › eslint-loader@^2.2.1 requires a peer of eslint@>=1.6.0 <7.0.0 but eslint@7.20.0 was installed
deprecate @vue/cli-plugin-eslint@4.5.11 › eslint-loader@^2.2.1 This loader has been deprecated. Please use eslint-webpack-plugin
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › request@^2.88.2 request has been deprecated, see https://github.com/request/request/issues/3142
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@^15.0.1 joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › request@2.88.2 › har-validator@~5.1.3 this library is no longer supported
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@15.1.1 › @hapi/topo@3.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@15.1.1 › @hapi/bourne@1.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@15.1.1 › @hapi/address@2.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-plugin-babel@4.5.11 › @vue/cli-shared-utils@4.5.11 › @hapi/joi@15.1.1 › @hapi/hoek@8.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-service@4.5.11 › @vue/preload-webpack-plugin@1.1.2 › html-webpack-plugin@^3.2.0 3.x is no longer supported
deprecate @vue/cli-plugin-eslint@4.5.11 › globby@9.2.0 › fast-glob@2.2.7 › micromatch@3.1.10 › braces@2.3.2 › snapdragon@0.8.2 › source-map-resolve@0.5.3 › urix@^0.1.0 Please see https://github.com/lydell/urix#deprecated
deprecate @vue/cli-plugin-babel@4.5.11 › webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@^2.1.8 Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
deprecate @vue/cli-plugin-babel@4.5.11 › webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@2.1.8 › fsevents@^1.2.7 fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
Recently updated (since 2021-02-13): 37 packages (detail see file /Users/ivyone/vue-admin-beautiful/node_modules/.recently_updates.txt)
Today:
→ @vue/cli-plugin-babel@4.5.11 › @vue/babel-preset-app@4.5.11 › @babel/helper-compilation-targets@7.12.17 › browserslist@4.16.3 › electron-to-chromium@^1.3.649(1.3.671) (11:02:36)
→ @vue/cli-service@4.5.11 › @types/webpack@4.41.26 › @types/node@*(14.14.31) (02:02:23)
→ @vue/eslint-config-prettier@6.0.0 › eslint@7.20.0 › file-entry-cache@^6.0.0(6.0.1) (12:10:56)
→ @vue/cli-plugin-babel@4.5.11 › @vue/babel-preset-app@4.5.11 › @babel/helper-compilation-targets@7.12.17 › browserslist@4.16.3 › caniuse-lite@^1.0.30001181(1.0.30001190) (13:33:08)
→ stylelint@^13.9.0(13.11.0) (18:48:40)
✔ All packages installed (1541 packages installed from npm registry, used 25s(network 19s), speed 174.76kB/s, json 1284(3.23MB), tarball 0B)
ivyone@ivyonedeMacBook-Pro vue-admin-beautiful % cnpm run serve
> vue-admin-beautiful-antdv@1.0.0 serve /Users/ivyone/vue-admin-beautiful
> vue-cli-service serve
> 欢迎使用vue-admin-beautiful,开源地址:https://github.com/chuzhixin/vue-admin-beautiful
> pro版演示地址:http://chu1204505056.gitee.io/vue-admin-beautiful-pro?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=
> vue 2.x版本演示地址(MIT协议免费商用):http://chu1204505056.gitee.io/vue-admin-beautiful?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=
> vue3.X版演示地址(element-plus 后期主线版本MIT协议免费商用):即将发布请关注github vue-admin-beautiful动态
> vue3.X版演示地址(andv MIT协议免费商用):http://chu1204505056.gitee.io/vue-admin-beautiful-antdv?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=
> 使用中出现任何问题可加QQ群反馈,获取文档(群号:972435319,1139183756)
> 如果您不希望显示以上信息,可在config中配置关闭
INFO Starting development server...
● Vue-admin-beautiful █████████████████████████ after emitting (98%)
[@vue/compiler-sfc] compileTemplate now requires the `id` option.`.
98% after emitting CopyPlugin
✔ Vue-admin-beautiful
[@vue/compiler-sfc] compileTemplate now requires the `id` option.`.
✔ Vue-admin-beautiful
Compiled successfully in 23.13s
[@vue/compiler-sfc] compileTemplate now requires the `id` option.`.
DONE Compiled successfully in 23071ms 下午11:19:08
App running at:
- Local: http://localhost:9999
- Network: http://192.168.3.11:9999
Note that the development build is not optimized.
To create a production build, run npm run build.
> 请求地址:/mock-server/login
> 请求参数:{"username":"admin","password":"123456"}
> 请求地址:/mock-server/userInfo
> 请求参数:{"accessToken":"admin-accessToken"}
> 请求地址:/mock-server/table/getList
> 请求地址:/mock-server/icon/getList
RROR Error: Cannot find module 'vue-loader-v16/package.json'
重新下载
cnpm i -D vue-loader-v16
Error: Cannot find module ‘vue-loader-v16/package.json‘
经过一番折(bai)腾(du),还是把这个问题解决了。
在此记录一下解决这个问题的主要操作:
1. 升级npm
npm i -g npm
使用cnpm的也要升级一下cnpm
cnpm i -g cnpm
2. 重新安装node_modules依赖包
rm -rf node_modules // 先删除原来的依赖包
cnpm i // 重新安装
3. 重新下载
cnpm i -D vue-loader-v16
更多推荐
已为社区贡献10条内容
所有评论(0)