npm error: No matching version found for @storybook/client-api@6.2.9

npm error: No matching version found for @storybook/client-api@6.2.9

在我的项目上 运行 npm install 时出现以下错误:

> npm install --legacy-peer-deps
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @storybook/client-api@6.2.9.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/naresh/.npm/_logs/2021-04-23T06_13_26_855Z-debug.log

我知道@storybook/client-api@6.2.9 已经发布到 npm,为什么我会收到这个错误?我是 运行 npm 版本 7.10.0.

编辑

  1. 这是全新安装。没有包-lock.json文件。
  2. 我运行npm cache verify验证缓存是否干净。
  3. yarn 对此项目没有任何问题。运行非常流畅。

好吧,错误在第二天自行更正了!我没有改变任何事情。我只能说 npm 的表现有点不稳定。