![]() |
怕考试的木耳 · 热火,把薪资空间都用到哪了_球员_莱利_赛季· 4 月前 · |
![]() |
严肃的吐司 · 研究速递:用深度学习对人体心血管衰老速率自动 ...· 6 月前 · |
![]() |
叛逆的乒乓球 · 【连载漫画】《回复术士的重来人生》剑圣入伙, ...· 10 月前 · |
PS C:\Users\zyy> npm install nodemon -g
changed 116 packages, and audited 117 packages in 17s
16 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
PS C:\Users\zyy> npm install nrm -g
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
removed 222 packages, changed 60 packages, and audited 94 packages in 19s
4 packages are looking for funding
run `npm fund` for details
2 vulnerabilities (1 moderate, 1 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
PS C:\Users\zyy> npm audit fix
npm WARN audit request to https://registry.npmjs.org/-/npm/v1/security/audits/quick failed, reason: Client network socket disconnected before secure TLS connection was established
undefined
npm ERR! audit endpoint returned an erro
PS C:\Users\zyy> npm audit fix --force
npm WARN using --force Recommended protections disabled.
npm WARN audit request to https://registry.npmjs.org/-/npm/v1/security/audits/quick failed, reason: Client network socket disconnected before secure TLS connection was established
undefined
npm ERR! audit endpoint returned an erro
PS C:\Users\zyy>
安装成功了,警告无需理会
当你执行完npm install nrm -g后,nrm包是安装成功了,使用没啥问题,那么上面抛出来的是一些npm WARN以及后面的修复方法提示,其中抛出的警告看了下是一些过时的依赖包,可作了解不用过多关注,然后后面我也看到了你执行一些修复方法,由于国内网络问题,这边建议你用nrm ls查看npm的源,然后用npm use切换到国内的源再试试,或者你可以科X学X上X网再试试
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2023 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号: 粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
扫码关注腾讯云开发者
领取腾讯云代金券
![]() |
怕考试的木耳 · 热火,把薪资空间都用到哪了_球员_莱利_赛季 4 月前 |