![]() |
不羁的课本 · 【文章】别克最美纯电轿跑SUV——ELECT ...· 1 年前 · |
![]() |
快乐的领结 · 《憨豆先生的大灾难》喜剧电影解说文案 - 知乎· 1 年前 · |
![]() |
斯文的电影票 · 第65话-位面神今天也要努力偷懒-漫画牛· 1 年前 · |
![]() |
重感情的沙滩裤 · 沈阳地铁4号线2023年4月试运营,2号线南 ...· 1 年前 · |
![]() |
小胡子的石榴 · 苏武牧羊:居然是生活在人间仙境!_百科TA说· 1 年前 · |
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
扫码关注腾讯云开发者
领取腾讯云代金券
![]() |
快乐的领结 · 《憨豆先生的大灾难》喜剧电影解说文案 - 知乎 1 年前 |
![]() |
斯文的电影票 · 第65话-位面神今天也要努力偷懒-漫画牛 1 年前 |
![]() |
小胡子的石榴 · 苏武牧羊:居然是生活在人间仙境!_百科TA说 1 年前 |