相关疑难解决方法(0)

在ubuntu 16.04上更新nodejs

我最近浏览了我的ubuntu 16.04中的节点版本,当使用node -v命令时它显示我的版本6.9.1但是当nodejs -v它在使用此命令之前显示6.9.2 时使用了命令npm update.

现在,什么是在这些差异node -vnodejs -v?以及如何更新到节点/ nodejs的最新LTS版本?

ubuntu node.js

118
推荐指数
5
解决办法
19万
查看次数

在OSX上安装MeanJS期间,`node-pre-gyp install --fallback-to-build`失败

我在使用Windows很长一段时间后给自己买了一本mac书.

我正在努力研究我一直在研究的MeanJS项目.这样做npm install对项目抛出错误

Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/Aayush/Work/lishn/repo/lishn-alpha/node_modules/grunt-node-inspector/node_modules/node-inspector/node_modules/v8-debug/build/debug/v0.4.6/node-v46-darwin-x64/debug.node --module_name=debug --module_path=/Users/Aayush/Work/lishn/repo/lishn-alpha/node_modules/grunt-node-inspector/node_modules/node-inspector/node_modules/v8-debug/build/debug/v0.4.6/node-v46-darwin-x64' (1)
npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.1.1
npm ERR! npm  v2.14.4
npm ERR! code ELIFECYCLE
> 
> npm ERR! v8-debug@0.4.6 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the v8-debug@0.4.6 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! This is most likely a problem with the v8-debug package,
npm ERR! not …
Run Code Online (Sandbox Code Playgroud)

macos node.js npm meanjs

43
推荐指数
6
解决办法
8万
查看次数

标签 统计

node.js ×2

macos ×1

meanjs ×1

npm ×1

ubuntu ×1