【发布时间】:2016-07-16 13:10:39
【问题描述】:
当我尝试运行 npm install 时出现以下错误。错误如下:
npm ERR! node v0.12.12
npm ERR! npm v3.3.6
npm ERR! code ELIFECYCLE
npm ERR! angular2-quickstart@1.0.0 postinstall: `typings install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular2-quickstart@1.0.0 postinstall script 'typings ins
tall'.
npm ERR! This is most likely a problem with the angular2-quickstart package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! typings install
npm ERR! You can get their info via:
npm ERR! npm owner ls angular2-quickstart
npm ERR! There is likely additional logging output above.
我该如何解决这个问题?
【问题讨论】:
-
您是否创建了
typings文件?只是“最近”添加到快速入门中。 -
我确实创建了它..typings.json
-
我在快速入门中遇到了同样的错误(手动输入,也来自 git repo)。我安装了节点 4.4.2 和类型 0.7.12。
标签: node.js angular exitstatus