【发布时间】:2016-10-22 11:49:02
【问题描述】:
我想使用 npm install 命令和 npm start 命令,但出现以下错误。我的节点版本是 -v0.10.25,npm 版本是--3.9.5。我该如何解决以下错误。请帮助我我该如何解决这个问题。
npm ERR! Linux 4.2.0-36-generic
npm ERR! argv "node" "/usr/local/bin/npm" "start"
npm ERR! node v0.10.25
npm ERR! npm v3.9.5
npm ERR! code ELIFECYCLE
npm ERR! angular2-app@0.0.0 start: `gulp serve.dev --color`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular2-app@0.0.0 start script 'gulp serve.dev --color'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the angular2-app package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp serve.dev --color
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs angular2-app
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls angular2-app
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/tannu/Desktop/ows-veraction-repo/npm-debug.log
【问题讨论】:
-
angular 2 代码在哪里?你为什么用
v0.10.25? -
那我应该使用哪个版本的节点。请帮帮我。
-
它对我有用,我安装了节点 6.2.1 和
nvmgithub.com/creationix/nvm -
现在我有以下错误。我有节点版本 v6.2.2 util.js:35 var str = String(f).replace(formatRegExp, function(x) { ^ RangeError: Maximum call stack size超过
标签: node.js typescript angular npm-install