龍寳
2021-03-24 00:17
C:\workspace\imooc>cd lin-cms-vue && npm install
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npm.taobao.org/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz - [not_found] document not found
npm ERR! 404
npm ERR! 404 '@nodelib/fs.stat@https://registry.npm.taobao.org/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\11960\AppData\Local\npm-cache\_logs\2021-03-23T16_12_33_709Z-debug.log
安装一个 node 版本切换工具,把 node 版本切换到 12 然后再执行一遍安装流程
谢谢!我的qq: 119604897
F:\workspace\imooc>node -v
v12.0.0
F:\workspace\imooc>npm -v
6.9.0
F:\workspace\imooc>git clone -b imooc-island https://gitee.com/talelin/lin-cms-vue.git
Cloning into 'lin-cms-vue'...
remote: Enumerating objects: 6110, done.
remote: Counting objects: 100% (6110/6110), done.
remote: Compressing objects: 100% (2617/2617), done.
Rremote: Total 6110 (delta 3547), reused 5455 (delta 3043), pack-reused 0eceiving objects: 98% (5988/6110), 7.57 MiB |
Receiving objects: 100% (6110/6110), 8.15 MiB | 980.00 KiB/s, done.
Resolving deltas: 100% (3547/3547), done.
F:\workspace\imooc>npm config set registry https://registry.npm.taobao.org
F:\workspace\imooc>npm config set sass_binary_site https://taobao.org/mirrors/node-sass
F:\workspace\imooc>cd lin-cms-vue && npm install
> yorkie@2.0.0 install F:\workspace\imooc\lin-cms-vue\node_modules\yorkie
> node bin/install.js
setting up Git hooks
done
> node-sass@4.12.0 install F:\workspace\imooc\lin-cms-vue\node_modules\node-sass
> node scripts/install.js
Cached binary found at C:\Users\Administrator\AppData\Roaming\npm-cache\node-sass\4.12.0\win32-x64-72_binding.node
> swiper@4.4.6 postinstall F:\workspace\imooc\lin-cms-vue\node_modules\swiper
> node -e "console.log('\u001b[35m\u001b[1mLove Swiper? Support Vladimir\'s work by donating or pledging on patreon:\u001b[22m\u001b[39m\n > \u001b[32mhttps://patreon.com/vladimirkharlampidi\u001b[0m\n')"
Love Swiper? Support Vladimir's work by donating or pledging on patreon:
> https://patreon.com/vladimirkharlampidi
> node-sass@4.12.0 postinstall F:\workspace\imooc\lin-cms-vue\node_modules\node-sass
> node scripts/build.js
Binary found at F:\workspace\imooc\lin-cms-vue\node_modules\node-sass\vendor\win32-x64-72\binding.node
Testing binary
Binary is fine
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
added 1898 packages from 1098 contributors in 354.41s
F:\workspace\imooc\lin-cms-vue>npm run serve
> lin-cms@0.3.4 serve F:\workspace\imooc\lin-cms-vue
> node script/plugin-get-config.js && vue-cli-service serve
配置插件...
插件配置完成: F:\workspace\imooc\lin-cms-vue\src\config\stage\plugins.js
INFO Starting development server...
13% building 29/32 modules 3 active ...de_modules\sockjs-client\dist\sockjs.jsBrowserslist: caniuse-lite is outdated. Please run next command `yarn upgrade`
55 5 98% after emitting CopyPlugin
#
# Fatal error in , line 0
# Check failed: U_SUCCESS(status).
#
#
#
#FailureMessage Object: 00000083036FD380npm ERR! code ELIFECYCLE
npm ERR! errno 3221225477
npm ERR! lin-cms@0.3.4 serve: `node script/plugin-get-config.js && vue-cli-service serve`
npm ERR! Exit status 3221225477
npm ERR!
npm ERR! Failed at the lin-cms@0.3.4 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! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2021-03-24T08_43_36_907Z-debug.log
老师,您好!我卸载本机node后通过nvm安装了node 12 版本,安装一直都显示成功,但一旦npm run serve启动服务就出错了,我反复删除了node_module目录重新npm install安装依赖也未显示错误,启动服务就出现了错误。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! lin-cms@0.3.4 serve: `node script/plugin-get-config.js && vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the lin-cms@0.3.4 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
?这个又是什么错误?
0到1快速构建自己的后台管理系统
21448 学习 · 145 问题
相似问题