无法在atom上将核素包升级到0.125.0



信息

$ apm -v
apm  1.6.0
npm  2.13.3
node 0.10.40
python 2.7.10
git 2.6.4
$ apm update
Package Updates Available (1)
└── nuclide 0.124.0 -> 0.125.0
Would you like to install these updates? (yes)

错误:

npm WARN engine nuclide@0.125.0: wanted: {"atom":">=1.5.3","node":">=4.1.1"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm ERR! Darwin 15.4.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/chandan/.atom/.apm/.apmrc" "--userconfig" "/Users/chandan/.atom/.apmrc" "install" "/private/var/folders/jx/80gvpbb525z56t19l_n172hw0000gn/T/d-116223-40264-1wsir87/package.tgz" "--target=0.34.5" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! version not found: relative-date@1.1.2
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR!     /private/var/folders/jx/80gvpbb525z56t19l_n172hw0000gn/T/apm-install-dir-116223-40264-17hzbk1/npm-debug.log


请让我知道我是否做错了什么,或者是否有关于如何升级这个核素包的变通方法。

目前,我根据本指南手动构建了核素:http://nuclide.io/docs/advanced-topics/building-from-source.

git clone https://github.com/facebook/nuclide.git
cd nuclide
npm install
apm link

它为我解决了这个问题。

此问题已解决。

此错误发生在2016年3月臭名昭著的"左垫"取消发布期间"left pad"获得了最多的提及,但"相对日期"也在未发布的包裹中。

这不是Nuclide本身的问题,而是其依赖项的下载问题。

最新更新