我嘗試運行-npm install時出現以下錯誤。如下錯誤:angular2 quickstart npm安裝失敗
npm ERR! node v0.12.12
npm ERR! npm v3.3.6
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: `typings install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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 – Smitha
我得到了同樣的錯誤與快速入門(手動輸入,也從git回購)。我安裝了節點4.4.2和類型0.7.12。 –