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

标签 atom-editor nuclide-editor

信息

$ 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

它为我解决了这个问题。

关于atom-editor - 无法在 atom 上将核素包升级到 0.125.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36177041/

相关文章:

atom-editor - 如何用 Electron 创建无模对话?

windows - Windows 7 上的核素包

ubuntu - 如何使用 Atom/Nuclide 和 Hack 进行内联错误检查?

python - 如何在 atom 中为 python 文档字符串设置自定义语法高亮颜色?

git - 在 Windows 上将 git 与 ssh-agent 结合使用

angular - Atom 需要很多时间来编译 angular 2 的 typescript 文件

c++ - 使用脚本在原子中使用 Armadillo

javascript - Atom/Nuclide 中的代码中断语法突出显示

atom-editor - 有多少个核素包?