安装 cnpm 出现 Unsupported URL Type “npm:“: npm:string-width@^4.2.0

Unsupported URL Type "npm:": npm:string-width@^4.2.0

可能是 node 版本太低了,需要安装低版本的 cnpm 试试

Go 复制代码
npm cache clean --force
npm config set strict-ssl false
npm install -g cnpm --registry=https://registry.npmmirror.com
改为
npm install -g cnpm@7.1.1 --registry=https://registry.npmmirror.com

cnpm - npm

相关推荐
爱上好庆祝15 小时前
学习js的第五天
前端·css·学习·html·css3·js
C澒15 小时前
IntelliPro 产研协作平台:基于 AI Agent 的低代码智能化配置方案设计与实现
前端·低代码·ai编程
一袋米扛几楼9815 小时前
【Git】规范化协作:详解 GitHub 工作流中的 Issue、Branch 与 Pull Request 最佳实践
前端·git·github·issue
网络点点滴15 小时前
前端与后端的区别与联系
前端
EnCi Zheng16 小时前
M5-markconv自定义CSS样式指南 [特殊字符]
前端·css·python
kyriewen16 小时前
你的网页慢,用户不说直接走——前端性能监控教你“读心术”
前端·性能优化·监控
广州华水科技16 小时前
北斗GNSS变形监测在大坝安全监测中的应用与优势分析
前端
前端老石人16 小时前
前端开发中的 URL 完全指南
开发语言·前端·javascript·css·html
CAE虚拟与现实16 小时前
五一假期闲来无事,来个前段、后端的说明吧
前端·后端·vtk·three.js·前后端
Sarvartha16 小时前
三目运算符
linux·服务器·前端