You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

代理环境下执行npm install -D live-sever报错E404求助

npm install E404 报错解决

问题场景

执行命令 npm install -D live-sever 时触发E404错误,网络处于代理环境,具体报错信息如下:

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/live-sever - Not found     
npm ERR! 404
npm ERR! 404  'live-sever@*' is not in this 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.

解决方法

报错核心原因是包名拼写错误,正确的包名为 live-server,执行以下命令即可完成安装:

npm install -D live-server

内容的提问来源于stack exchange,提问作者dilbro

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.13 15:10:27