随笔分类 - npm
摘要:
删掉依赖,使用yarn重新拉取,保错如下: error commander@12.1.0: The engine "node" is incompatible with this module. Expected version ">=18". Got "16.19.1" 错误commander@1
阅读全文

摘要:
我在安装一个包xx,遇到了一堆报错,其中关于npm ERR! gyp ERR! find Python有很多条,大体意思是我没有正确配置python环境。 但事实上真的需要python环境吗,不一定,观察上下文,我发现它还提示我要删除缓存,嗯,原因应该就是这个。 找到npm i xx时报错抛出的安装
阅读全文

摘要:
今天晚上我打算推一个包到npm时,遇到了如下报错: npm ERR! 403 403 Forbidden - PUT https://registry.npmmirror.com/-/user/org.couchdb.user:xxx - [FORBIDDEN] Public registratio
阅读全文
![2024-07-15 npm ERR! 403 403 Forbidden - PUT https://registry.npmmirror.com/-/user/org.couchdb.user:iuniko - [FORBIDDEN] Public registration is not allowed ==> 切换npm镜像源](https://img2024.cnblogs.com/blog/2823037/202407/2823037-20240715005658631-348131829.png)
摘要:
报错1:This package has been marked as private npm ERR! 你的包被设为私有模式了。 npm ERR! code EPRIVATE npm ERR! This package has been marked as private npm ERR! Rem
阅读全文

摘要:
这两天遇到个问题,是关于依赖无法拉取的问题,尽管我有三分猜到了是什么原因,但我还是不肯往那个方向思考,哎,真是死牛一便颈。 如,我要给前端项目装个express框架,用npm装,装了大半天一点反应都没有,用yarn装就直接报网络无法连接,如图: 用cnpm装就没问题,秒过。 注意:我的电脑是能正常上
阅读全文

摘要:rt。
阅读全文
摘要:
今天在hbuilderx运行微信小程序项目时显示一下内容: 09:03:01.944 npx update-browserslist-db@latest 09:03:01.944 Why you should do it regularly: https://github.com/browsersl
阅读全文

摘要:
npm -v或者cnpm -v会报一个警告: npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead. 翻译·:不推荐使用npm WARN config global“-
阅读全文

摘要:
前言:做项目需要升级npm,网友推荐(https://blog.csdn.net/qq_22713201/article/details/122486841)使用n模块来升级,运行npm install -g n报错,报错如下: D:\test\app\myapp>npm install -g n
阅读全文
