天呐,终于运行出了一个大项目----里头有个大bug:RROR Error: Cannot find module ‘vue-,解决办法是重新下载 cnpm i -D vue-loader-v16
最新推荐文章于 2024-09-06 16:18:40 发布
最新推荐文章于 2024-09-06 16:18:40 发布
阅读量
5.8k
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/[email protected] requires a peer of eslint@>= 1.6.0 < 7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of eslint@>=1.6.0 <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @babel/core@>=7.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^4 || ^5 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] 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
> [email protected] 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! [email protected] serve: `vue-cli-service serve`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] 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/[email protected] › yorkie@^2.0.0 run "node bin/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@yorkie"
setting up Git hooks
[1/10] scripts.install @vue/[email protected] › yorkie@^2.0.0 finished in 98ms
[2/10] scripts.install @vue/[email protected] › [email protected] › [email protected] › [email protected] › [email protected] › fsevents@^1.2.7 run "node install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@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/[email protected]@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/[email protected] › [email protected] › [email protected] › [email protected] › [email protected] › fsevents@^1.2.7 finished in 1s
[3/10] scripts.postinstall @vue/[email protected] › [email protected] › ejs@^2.6.1 run "node ./postinstall.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@ejs"
Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)
[3/10] scripts.postinstall @vue/[email protected] › [email protected] › 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/[email protected]@core-js"
[4/10] scripts.postinstall core-js@^3.8.3 finished in 61ms
[5/10] scripts.postinstall [email protected] › [email protected] › pngquant-bin@^6.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@pngquant-bin"
✔ pngquant pre-build test passed successfully
[5/10] scripts.postinstall [email protected] › [email protected] › pngquant-bin@^6.0.0 finished in 2s
[6/10] scripts.postinstall [email protected] › [email protected] › gifsicle@^5.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@gifsicle"
✔ gifsicle pre-build test passed successfully
[6/10] scripts.postinstall [email protected] › [email protected] › gifsicle@^5.0.0 finished in 764ms
[7/10] scripts.postinstall [email protected] › [email protected] › mozjpeg@^7.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@mozjpeg"
✔ mozjpeg pre-build test passed successfully
[7/10] scripts.postinstall [email protected] › [email protected] › mozjpeg@^7.0.0 finished in 1s
[8/10] scripts.postinstall [email protected] › [email protected] › optipng-bin@^7.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@optipng-bin"
✔ optipng pre-build test passed successfully
[8/10] scripts.postinstall [email protected] › [email protected] › optipng-bin@^7.0.0 finished in 799ms
[9/10] scripts.postinstall [email protected] › [email protected] › cwebp-bin@^5.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@cwebp-bin"
✔ cwebp pre-build test passed successfully
[9/10] scripts.postinstall [email protected] › [email protected] › cwebp-bin@^5.0.0 finished in 1s
[10/10] scripts.postinstall [email protected] run "node scripts/postinstall || echo \"ignore\"", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@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 [email protected] finished in 65ms
✔ Run 10 scripts
peerDependencies link [email protected] in /Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@ajv-keywords unmet with /Users/ivyone/vue-admin-beautiful/node_modules/ajv(7.1.1)
peerDependencies link [email protected] in /Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@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 [email protected] was installed
peerDependencies WARNING @vue/[email protected] › eslint-loader@^2.2.1 requires a peer of eslint@>=1.6.0 <7.0.0 but [email protected] was installed
deprecate @vue/[email protected] › eslint-loader@^2.2.1 This loader has been deprecated. Please use eslint-webpack-plugin
deprecate @vue/[email protected] › @vue/[email protected] › request@^2.88.2 request has been deprecated, see https://github.com/request/request/issues/3142
deprecate @vue/[email protected] › @vue/[email protected] › @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/[email protected] › @vue/[email protected] › [email protected] › har-validator@~5.1.3 this library is no longer supported
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected] › html-webpack-plugin@^3.2.0 3.x is no longer supported
deprecate @vue/[email protected] › [email protected] › [email protected] › [email protected] › [email protected] › [email protected] › [email protected] › urix@^0.1.0 Please see https://github.com/lydell/urix
deprecate @vue/[email protected] › [email protected] › [email protected] › [email protected] › chokidar@^2.1.8 Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
deprecate @vue/[email protected] › [email protected] › [email protected] › [email protected] › [email protected] › 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/[email protected] › @vue/[email protected] › @babel/[email protected] › [email protected] › electron-to-chromium@^1.3.649(1.3.671) (11:02:36)
→ @vue/[email protected] › [email protected] › @types/[email protected] › @types/node@*(14.14.31) (02:02:23)
→ @vue/[email protected] › [email protected] › file-entry-cache@^6.0.0(6.0.1) (12:10:56)
→ @vue/[email protected] › @vue/[email protected] › @babel/[email protected] › [email protected] › 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
> [email protected] 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/_@[email protected]@@vue/cli-service/lib/config/base.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@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/_@[email protected]@@vue/cli-service/lib/config/base.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@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/_@[email protected]@@vue/cli-service/lib/config/base.js:114:23
at /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js:236:40
at Array.forEach (<anonymous>)
at Service.resolveChainableWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js:236:26)
at Service.resolveWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js:240:48)
at PluginAPI.resolveWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/PluginAPI.js:132:25)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] serve: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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/[email protected] › yorkie@^2.0.0 run "node bin/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@yorkie"
setting up Git hooks
[1/10] scripts.install @vue/[email protected] › yorkie@^2.0.0 finished in 112ms
[2/10] scripts.install @vue/[email protected] › [email protected] › [email protected] › [email protected] › [email protected] › fsevents@^1.2.7 run "node install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@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/[email protected]@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/[email protected] › [email protected] › [email protected] › [email protected] › [email protected] › fsevents@^1.2.7 finished in 1s
[3/10] scripts.postinstall @vue/[email protected] › [email protected] › ejs@^2.6.1 run "node ./postinstall.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@ejs"
Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)
[3/10] scripts.postinstall @vue/[email protected] › [email protected] › 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/[email protected]@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 [email protected] › [email protected] › cwebp-bin@^5.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@cwebp-bin"
✔ cwebp pre-build test passed successfully
[5/10] scripts.postinstall [email protected] › [email protected] › cwebp-bin@^5.0.0 finished in 2s
[6/10] scripts.postinstall [email protected] › [email protected] › gifsicle@^5.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@gifsicle"
✔ gifsicle pre-build test passed successfully
[6/10] scripts.postinstall [email protected] › [email protected] › gifsicle@^5.0.0 finished in 767ms
[7/10] scripts.postinstall [email protected] › [email protected] › mozjpeg@^7.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@mozjpeg"
✔ mozjpeg pre-build test passed successfully
[7/10] scripts.postinstall [email protected] › [email protected] › mozjpeg@^7.0.0 finished in 886ms
[8/10] scripts.postinstall [email protected] › [email protected] › optipng-bin@^7.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@optipng-bin"
✔ optipng pre-build test passed successfully
[8/10] scripts.postinstall [email protected] › [email protected] › optipng-bin@^7.0.0 finished in 1s
[9/10] scripts.postinstall [email protected] › [email protected] › pngquant-bin@^6.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@pngquant-bin"
✔ pngquant pre-build test passed successfully
[9/10] scripts.postinstall [email protected] › [email protected] › pngquant-bin@^6.0.0 finished in 961ms
[10/10] scripts.postinstall [email protected] run "node scripts/postinstall || echo \"ignore\"", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@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 [email protected] finished in 69ms
✔ Run 10 scripts
peerDependencies link [email protected] in /Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@ajv-keywords unmet with /Users/ivyone/vue-admin-beautiful/node_modules/ajv(7.1.1)
peerDependencies link [email protected] in /Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@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 [email protected] 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/[email protected] › eslint-loader@^2.2.1 requires a peer of eslint@>=1.6.0 <7.0.0 but [email protected] was installed
deprecate @vue/[email protected] › eslint-loader@^2.2.1 This loader has been deprecated. Please use eslint-webpack-plugin
deprecate @vue/[email protected] › @vue/[email protected] › request@^2.88.2 request has been deprecated, see https://github.com/request/request/issues/3142
deprecate @vue/[email protected] › @vue/[email protected] › @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/[email protected] › @vue/[email protected] › [email protected] › har-validator@~5.1.3 this library is no longer supported
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected] › html-webpack-plugin@^3.2.0 3.x is no longer supported
deprecate @vue/[email protected] › [email protected] › [email protected] › [email protected] › [email protected] › [email protected] › urix@^0.1.0 Please see https://github.com/lydell/urix
deprecate @vue/[email protected] › [email protected] › [email protected] › [email protected] › chokidar@^2.1.8 Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
deprecate @vue/[email protected] › [email protected] › [email protected] › [email protected] › [email protected] › 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/[email protected] › @vue/[email protected] › @babel/[email protected] › [email protected] › electron-to-chromium@^1.3.649(1.3.671) (11:02:36)
→ @vue/[email protected] › @types/[email protected] › @types/node@*(14.14.31) (02:02:23)
→ @vue/[email protected] › [email protected] › file-entry-cache@^6.0.0(6.0.1) (12:10:56)
→ @vue/[email protected] › @vue/[email protected] › @babel/[email protected] › [email protected] › 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
> [email protected] 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/_@[email protected]@@vue/cli-service/lib/config/base.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@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/_@[email protected]@@vue/cli-service/lib/config/base.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@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/_@[email protected]@@vue/cli-service/lib/config/base.js:114:23
at /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js:236:40
at Array.forEach (<anonymous>)
at Service.resolveChainableWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js:236:26)
at Service.resolveWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js:240:48)
at PluginAPI.resolveWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/PluginAPI.js:132:25)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] serve: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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
> [email protected] 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/_@[email protected]@@vue/cli-service/lib/config/base.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@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/_@[email protected]@@vue/cli-service/lib/config/base.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@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/_@[email protected]@@vue/cli-service/lib/config/base.js:114:23
at /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js:236:40
at Array.forEach (<anonymous>)
at Service.resolveChainableWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js:236:26)
at PluginAPI.resolveChainableWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/PluginAPI.js:145:25)
at module.exports (/Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/commands/build/resolveAppConfig.js:9:22)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `vue-cli-service build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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/[email protected]: 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 > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/[email protected]: Moved to 'npm install @sideway/address'
warning @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning @vue/cli-plugin-babel > @vue/cli-shared-utils > @hapi/joi > @hapi/[email protected]: 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/[email protected]: This version has been deprecated and is no longer supported or maintained
warning @vue/cli-plugin-babel > @vue/cli-shared-utils > request > [email protected]: this library is no longer supported
warning @vue/cli-plugin-babel > webpack > watchpack > watchpack-chokidar2 > [email protected]: 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 > [email protected]: 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 > [email protected]: https://github.com/lydell/resolve-url
warning @vue/cli-plugin-eslint > [email protected]: This loader has been deprecated. Please use eslint-webpack-plugin
warning @vue/cli-service > [email protected]: 3.x is no longer supported
warning @vue/cli-service > webpack-dev-server > [email protected]: 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/[email protected]" has incorrect peer dependency "eslint@>= 1.6.0 < 7.0.0".
warning "@vue/cli-plugin-eslint > [email protected]" has incorrect peer dependency "eslint@>=1.6.0 <7.0.0".
warning " > [email protected]" has unmet peer dependency "css-loader@*".
warning " > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.1.0 || ^5.0.0-0".
warning " > [email protected]" has unmet peer dependency "@babel/core@>=7.2.0".
warning " > [email protected]" has unmet peer dependency "webpack@^4 || ^5".
warning " > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning " > [email protected]" has unmet peer dependency "webpack@3 || 4 || 5".
warning " > [email protected]" has unmet peer dependency "css-loader@*".
warning " > [email protected]" 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
> [email protected] 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/[email protected]@ora/index.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-shared-utils/lib/spinner.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-shared-utils/lib/logger.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-shared-utils/index.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@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/[email protected]@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/[email protected]@ora/index.js',
'/Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-shared-utils/lib/spinner.js',
'/Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-shared-utils/lib/logger.js',
'/Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-shared-utils/index.js',
'/Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/bin/vue-cli-service.js'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] serve: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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/[email protected] › yorkie@^2.0.0 run "node bin/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@yorkie"
setting up Git hooks
[1/10] scripts.install @vue/[email protected] › yorkie@^2.0.0 finished in 110ms
[2/10] scripts.install @vue/[email protected] › [email protected] › [email protected] › [email protected] › [email protected] › fsevents@^1.2.7 run "node install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@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/[email protected]@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/[email protected] › [email protected] › [email protected] › [email protected] › [email protected] › fsevents@^1.2.7 finished in 1s
[3/10] scripts.postinstall @vue/[email protected] › [email protected] › ejs@^2.6.1 run "node ./postinstall.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@ejs"
Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)
[3/10] scripts.postinstall @vue/[email protected] › [email protected] › 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/[email protected]@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 [email protected] › [email protected] › gifsicle@^5.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@gifsicle"
✔ gifsicle pre-build test passed successfully
[5/10] scripts.postinstall [email protected] › [email protected] › gifsicle@^5.0.0 finished in 2s
[6/10] scripts.postinstall [email protected] › [email protected] › pngquant-bin@^6.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@pngquant-bin"
✔ pngquant pre-build test passed successfully
[6/10] scripts.postinstall [email protected] › [email protected] › pngquant-bin@^6.0.0 finished in 1s
[7/10] scripts.postinstall [email protected] › [email protected] › mozjpeg@^7.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@mozjpeg"
✔ mozjpeg pre-build test passed successfully
[7/10] scripts.postinstall [email protected] › [email protected] › mozjpeg@^7.0.0 finished in 1s
[8/10] scripts.postinstall [email protected] › [email protected] › optipng-bin@^7.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@optipng-bin"
✔ optipng pre-build test passed successfully
[8/10] scripts.postinstall [email protected] › [email protected] › optipng-bin@^7.0.0 finished in 753ms
[9/10] scripts.postinstall [email protected] › [email protected] › cwebp-bin@^5.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@cwebp-bin"
✔ cwebp pre-build test passed successfully
[9/10] scripts.postinstall [email protected] › [email protected] › cwebp-bin@^5.0.0 finished in 1s
[10/10] scripts.postinstall [email protected] run "node scripts/postinstall || echo \"ignore\"", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@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 [email protected] finished in 67ms
✔ Run 10 scripts
peerDependencies link [email protected] in /Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@ajv-keywords unmet with /Users/ivyone/vue-admin-beautiful/node_modules/ajv(7.1.1)
peerDependencies link [email protected] in /Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@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 [email protected] was installed
peerDependencies WARNING @vue/[email protected] › eslint-loader@^2.2.1 requires a peer of eslint@>=1.6.0 <7.0.0 but [email protected] was installed
deprecate @vue/[email protected] › eslint-loader@^2.2.1 This loader has been deprecated. Please use eslint-webpack-plugin
deprecate @vue/[email protected] › @vue/[email protected] › request@^2.88.2 request has been deprecated, see https://github.com/request/request/issues/3142
deprecate @vue/[email protected] › @vue/[email protected] › @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/[email protected] › @vue/[email protected] › [email protected] › har-validator@~5.1.3 this library is no longer supported
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected] › html-webpack-plugin@^3.2.0 3.x is no longer supported
deprecate @vue/[email protected] › [email protected] › [email protected] › [email protected] › [email protected] › [email protected] › urix@^0.1.0 Please see https://github.com/lydell/urix
deprecate @vue/[email protected] › [email protected] › [email protected] › [email protected] › chokidar@^2.1.8 Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
deprecate @vue/[email protected] › [email protected] › [email protected] › [email protected] › [email protected] › 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/[email protected] › @vue/[email protected] › @babel/[email protected] › [email protected] › electron-to-chromium@^1.3.649(1.3.671) (11:02:36)
→ @vue/[email protected] › @types/[email protected] › @types/node@*(14.14.31) (02:02:23)
→ @vue/[email protected] › [email protected] › file-entry-cache@^6.0.0(6.0.1) (12:10:56)
→ @vue/[email protected] › @vue/[email protected] › @babel/[email protected] › [email protected] › 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
> [email protected] 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/_@[email protected]@@vue/cli-service/lib/config/base.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@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/_@[email protected]@@vue/cli-service/lib/config/base.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js
- /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@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/_@[email protected]@@vue/cli-service/lib/config/base.js:114:23
at /Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js:236:40
at Array.forEach (<anonymous>)
at Service.resolveChainableWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js:236:26)
at Service.resolveWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/Service.js:240:48)
at PluginAPI.resolveWebpackConfig (/Users/ivyone/vue-admin-beautiful/node_modules/_@[email protected]@@vue/cli-service/lib/PluginAPI.js:132:25)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] serve: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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/[email protected] › yorkie@^2.0.0 run "node bin/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@yorkie"
setting up Git hooks
[1/10] scripts.install @vue/[email protected] › yorkie@^2.0.0 finished in 103ms
[2/10] scripts.install @vue/[email protected] › [email protected] › [email protected] › [email protected] › [email protected] › fsevents@^1.2.7 run "node install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@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/[email protected]@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/[email protected] › [email protected] › [email protected] › [email protected] › [email protected] › fsevents@^1.2.7 finished in 960ms
[3/10] scripts.postinstall @vue/[email protected] › [email protected] › ejs@^2.6.1 run "node ./postinstall.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@ejs"
Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)
[3/10] scripts.postinstall @vue/[email protected] › [email protected] › 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/[email protected]@core-js"
[4/10] scripts.postinstall core-js@^3.8.3 finished in 61ms
[5/10] scripts.postinstall [email protected] › [email protected] › gifsicle@^5.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@gifsicle"
✔ gifsicle pre-build test passed successfully
[5/10] scripts.postinstall [email protected] › [email protected] › gifsicle@^5.0.0 finished in 2s
[6/10] scripts.postinstall [email protected] › [email protected] › mozjpeg@^7.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@mozjpeg"
✔ mozjpeg pre-build test passed successfully
[6/10] scripts.postinstall [email protected] › [email protected] › mozjpeg@^7.0.0 finished in 884ms
[7/10] scripts.postinstall [email protected] › [email protected] › cwebp-bin@^5.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@cwebp-bin"
✔ cwebp pre-build test passed successfully
[7/10] scripts.postinstall [email protected] › [email protected] › cwebp-bin@^5.0.0 finished in 835ms
[8/10] scripts.postinstall [email protected] › [email protected] › optipng-bin@^7.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@optipng-bin"
✔ optipng pre-build test passed successfully
[8/10] scripts.postinstall [email protected] › [email protected] › optipng-bin@^7.0.0 finished in 652ms
[9/10] scripts.postinstall [email protected] › [email protected] › pngquant-bin@^6.0.0 run "node lib/install.js", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@pngquant-bin"
✔ pngquant pre-build test passed successfully
[9/10] scripts.postinstall [email protected] › [email protected] › pngquant-bin@^6.0.0 finished in 918ms
[10/10] scripts.postinstall [email protected] run "node scripts/postinstall || echo \"ignore\"", root: "/Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@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 [email protected] finished in 61ms
✔ Run 10 scripts
peerDependencies link [email protected] in /Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@ajv-keywords unmet with /Users/ivyone/vue-admin-beautiful/node_modules/ajv(7.1.1)
peerDependencies link [email protected] in /Users/ivyone/vue-admin-beautiful/node_modules/[email protected]@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 [email protected] was installed
peerDependencies WARNING @vue/[email protected] › eslint-loader@^2.2.1 requires a peer of eslint@>=1.6.0 <7.0.0 but [email protected] was installed
deprecate @vue/[email protected] › eslint-loader@^2.2.1 This loader has been deprecated. Please use eslint-webpack-plugin
deprecate @vue/[email protected] › @vue/[email protected] › request@^2.88.2 request has been deprecated, see https://github.com/request/request/issues/3142
deprecate @vue/[email protected] › @vue/[email protected] › @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/[email protected] › @vue/[email protected] › [email protected] › har-validator@~5.1.3 this library is no longer supported
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected] › html-webpack-plugin@^3.2.0 3.x is no longer supported
deprecate @vue/[email protected] › [email protected] › [email protected] › [email protected] › [email protected] › [email protected] › [email protected] › urix@^0.1.0 Please see https://github.com/lydell/urix
deprecate @vue/[email protected] › [email protected] › [email protected] › [email protected] › chokidar@^2.1.8 Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
deprecate @vue/[email protected] › [email protected] › [email protected] › [email protected] › [email protected] › 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/[email protected] › @vue/[email protected] › @babel/[email protected] › [email protected] › electron-to-chromium@^1.3.649(1.3.671) (11:02:36)
→ @vue/[email protected] › @types/[email protected] › @types/node@*(14.14.31) (02:02:23)
→ @vue/[email protected] › [email protected] › file-entry-cache@^6.0.0(6.0.1) (12:10:56)
→ @vue/[email protected] › @vue/[email protected] › @babel/[email protected] › [email protected] › 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
> [email protected] 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.`.
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
vue3,vite,报错,提示错误,控制台错误,vue3报错Missing semicolon,如何解决这个问题,vite vue3项目运行报错,缺少分号;缺少操作符或分号,vue3+vite提示Missing semicolon.,vue3打包,编译打包报错,启动报错,无法启动,打包失败,vite打包发布时出现错误,npm run build,plugin:vite:vue,@vue/compiler-sfc,Vue3使用vite打包时出现 Missing semicolon 问题,没有额外的分号怎么排查
我在项目中想要引入echarts的时候报错:
style-loader@3.3.1 requires a peer of webpack@^5.0.0 but none is installed. You must install peer dependencies yourself.
这段话的意思是:style-loader@3.3.1 需要 webpack@^5.0.0 的同级,但没有安装。您必须自己
在项目打包的时候 `npm run build`,控制台报错,并抛出一个 `Cannot find module 'vue-loader/lib/plugin'` 的问题;
1、全局安装过旧版本的 vue-cli(1.x 或 2.x)要先卸载它:
npm uninstall vue-cli -g //或者 yarn global remove vue-cli
注意:如果卸载不了(我卸载2.9.6,还剩下一个2.9.3版本一直卸载不了),就直接安装vue cli3,包直接安装就能覆盖掉
2.安装 vue cli3
npm install -g @vue/...
看黑马教程,关于此方面进行操作后发现一些问题,并尝试解决。版本开始就已经放弃了上述的引入方式,改以。方式引入VueLoaderPlugin。查了两个文章后,发现是[重新打包,可以正常进行。
欢迎使用Markdown编辑器
你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。
我们对Markdown编辑器进行了一些功能拓展与语法支持,除了标准的Markdown编辑器功能,我们增加了如下几点新功能,帮助你用它写博客:
全新的界面设计 ,将会带来全...
安装了 webpack4 的版本之后发现报这个错 Cannot find module ‘vue-loader/lib/plugin’
然后上node-modules 里找了一下还真没有/plugin,所以我肯定是 vue-loader 的版本问题
升级了一下 “vue-loader”: “^15.7.0” 就好了
npm WARN [email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^4.0.0 ...
报错`vue-cli-service serve`
Error: Cannot find module '@vue/vue-loader-v15/package.json'
npm ERR! [email protected] serve: `vue-cli-service serve --mode development`
项目启动报错