首页 > atom怎么升级自身的node版本

atom怎么升级自身的node版本

mac上atom安装sync-settings 插件时报错

npm WARN engine escodegen@1.8.1: wanted: {"node":">=0.12.0"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm ERR! Darwin 15.5.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/abc/.atom/.apm/.apmrc" "--userconfig" "/Users/abc/.atom/.apmrc" "install" "/private/var/folders/6m/9_2b7ydd7lsgf3k9s2t20py80000gn/T/d-11679-14749-1ogpfre/package.tgz" "--target=0.36.8" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3

npm ERR! shasum check failed for /var/folders/6m/9_2b7ydd7lsgf3k9s2t20py80000gn/T/npm-14751-dfc816fa/registry.npmjs.org/source-map/-/source-map-0.5.6.tgz
npm ERR! Expected: 75ce38f52bf0733c5a7f0c118d81334a2bb5f412
npm ERR! Actual:   fd4ca54559ae3e4b39085d18f2c68207ba30d7f0
npm ERR! From:     https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

我觉得是node版本低,请问怎么升级atom的node

#apm -v
apm  1.9.2
npm  2.13.3
node 0.10.40
python 2.7.10
git 2.7.4

注意:我本机的node是v6.2.2

【热门文章】
【热门文章】