【问题标题】:Npm install; Failed at the angular-phonecat@0.0.0 prestart scriptnpm 安装;在 angular-phonecat@0.0.0 预启动脚本中失败
【发布时间】:2014-11-20 02:59:08
【问题描述】:

我可以知道这里有什么问题吗?我一无所知... 谢谢。

npm ERR! angular-phonecat@0.0.0 prestart: `npm install`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the angular-phonecat@0.0.0 prestart script.
npm ERR! This is most likely a problem with the angular-phonecat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm install
npm ERR! You can get their info via:
npm ERR!     npm owner ls angular-phonecat
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\\\node.exe" "C:\\Program Files (x86)\
\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! cwd C:\Users\bong\angular-phonecat
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! syscall spawn
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! angular-phonecat@0.0.0 prestart: `npm install`
npm ERR! Exit status -1
npm ERR!
npm ERR! Failed at the angular-phonecat@0.0.0 prestart script.
npm ERR! This is most likely a problem with the angular-phonecat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm install
npm ERR! You can get their info via:
npm ERR!     npm owner ls angular-phonecat
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\\\node.exe" "C:\\Program Files (x86)\
\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! cwd C:\Users\bong\angular-phonecat
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\Users\bong\angular-phonecat\npm-debug.log
npm ERR! not ok code 0

【问题讨论】:

    标签: windows node.js angularjs npm


    【解决方案1】:

    尝试单独安装每个依赖项,这似乎是 package.json 中的问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-02-10
      • 2014-12-19
      • 1970-01-01
      • 2020-06-08
      • 2018-03-15
      • 1970-01-01
      • 2019-05-17
      • 2017-06-07
      相关资源
      最近更新 更多