showdoc
showdoc copied to clipboard
二次开发时,npm install安装失败
npm ERR! code E404 npm ERR! 404 Not Found - GET https://cdn.npmmirror.com/packages/DOMino/2.1.6/DOMino-2.1.6.tgz npm ERR! 404 npm ERR! 404 'domino@https://registry.npmmirror.com/DOMino/-/DOMino-2.1.6.tgz' is not in this registry. 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\Administrator\AppData\Local\npm-cache_logs\2022-04-11T08_47_38_512Z-debug-0.log
我这边能正常安装,不清楚你什么情况。你尝试不使用加速镜像,用官方
我也是!
看错误好像是你的镜像源有问题。尝试用官方npm仓库安装
So? 我这镜像源是官方的吧?或者我配置的方法不对?
从 Windows 版邮件发送
发件人: star7th 发送时间: 2022年4月28日 23:23 收件人: star7th/showdoc 抄送: Musicminion; Comment 主题: Re: [star7th/showdoc] 二次开发时,npm install安装失败 (Issue #1671)
看错误好像是你的镜像源有问题。尝试用官方npm仓库安装 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
看错误好像是你的镜像源有问题。尝试用官方npm仓库安装
网址npmmirror.com就是淘宝镜像。你可以尝试删除web_src/package-lock.json文件再安装看看
npm指定安装源即可了 已解决
发自我的iPhone
在 2022年4月29日,00:43,star7th @.***> 写道:
网址npmmirror.com就是淘宝镜像。你可以尝试删除web_src/package-lock.json文件再安装看看
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
npm install [email protected] 可以完美解决问题 在执行npm install
我这边能正常安装,不清楚你什么情况。你尝试不使用加速镜像,用官方
nodejs什么版本?
我开发环境使用的是v14.19.0
解决办法:文件 package-lock.json 修改 https://registry.npmmirror.com/DOMino/-/DOMino-2.1.6.tgz 为 https://registry.npmmirror.com/domino/-/domino-2.1.6.tgz