32

这个警告是 npm 的问题吗? The package-lock.json file was created with an old ver...

 2 years ago
source link: https://www.v2ex.com/t/808318
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  Node.js

这个警告是 npm 的问题吗? The package-lock.json file was created with an old version of npm

  SekiBetu · 3 小时 32 分钟前 · 211 次点击
> npm update

npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.

up to date in 11s

1 package is looking for funding
  run `npm fund` for details

搜寻了很多解决方法但是一个都没奏效,虽然不影响使用,但是我用的一直是最新版的 npm 啊,总是提示我 package-lock.json 是旧版创建的,删除 node_modulespackage-lock.json 重新生成后也还是提示这个


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK