React安装调度程序存在先前的问题 https://github.com/facebook/react/issues/13693
昨天我可以npm install
。今天,对于package.json没有任何更改,我看到了:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for scheduler@^0.13.4
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
scheduler
似乎有0.13.4
https://www.npmjs.com/package/scheduler,但我无法单独安装此模块。但是,我可以单独安装0.13.3
。看来0.13.4
是16小时前发布的。
我正在使用反应16.6.1
还有其他人遇到这种情况吗?有解决方案吗?
答案 0 :(得分:0)
它确实有效,
也许您在后面/指向私有存储库或公司代理存储库?
dev npm install scheduler
npm WARN saveError ENOENT: no such file or directory, open '/Users/user/dev/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/Users/user/dev/package.json'
npm WARN dev No description
npm WARN dev No repository field.
npm WARN dev No README data
npm WARN dev No license field.
+ scheduler@0.13.4
added 4 packages from 3 contributors and audited 4 packages in 1.66s
found 0 vulnerabilities