2017-06-20 100 views
0
C:\SARANRAJ-K.R\Medrec\meds_6.2.0_update7>npm install 


npm WARN deprecated [email protected]: THIS PACKAGE HAS BEEN RENAMED TO: 
npm WARN deprecated [email protected]: use grunt-ng-annotate instead 
npm WARN deprecated [email protected]: Package renamed to phantomjs-prebuilt. Plea 
npm WARN deprecated [email protected]: ReDoS vulnerability parsing Set-Cookie 
npm WARN deprecated [email protected]: use ng-annotate instead 
npm WARN deprecated [email protected]: ReDoS vulnerability parsing Set-Cookie 
npm WARN deprecated [email protected]: Use uuid module instead 
npm WARN deprecated [email protected]: ReDoS vulnerability parsing Set-Cookie h 
npm WARN deprecated [email protected]: module has been merged into crc3 
npm ERR! code 128 
npm ERR! Command failed: C:\Program Files\Git\cmd\git.EXE checkout 74fd92dc48f95 
npm ERR! fatal: reference is not a tree: 74fd92dc48f9575abc701fbd84decad160c5cc6 
npm ERR! 

npm ERR! A complete log of this run can be found in: 
npm ERR!  C:\Users\gd14980\AppData\Roaming\npm-cache\_logs\2017-06-20T05_55_0 

我得到了上面的錯誤,同時運行NPM install命令npm ERR!碼128,同時運行NPM安裝應用

+0

更新你的軟件包並檢查GIT是否已安裝,如果已安裝,檢查路徑是否等於此路徑'C:\ Program Files \ Git \ cmd \ git.EXE'如果不更改它。 –

+0

好的謝謝你的迴應 – saranilango

回答

0

嘗試使用此命令。

  • 須藤NPM緩存清理-f
  • 須藤NPM安裝-gn
  • 須藤ň穩定
  • 須藤LN -sf /usr/local/n/versions/node/8.0/bin/node/usr/bin/node