簡體   English   中英

在安裝yo angular-fullstack時Windows npm err

[英]windows npm err while installing yo angular-fullstack

我正在嘗試使用這些版本安裝角全棧:

  • 節點v5.7.0
  • npm 3.7.3
  • 喲1.6.0
  • 涼亭1.7.7

我收到一些npm err

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Sahar\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v5.7.0
npm ERR! npm  v3.7.3
npm ERR! code ELIFECYCLE

npm ERR! v8-debug@0.4.6 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the v8-debug@0.4.6 install script 'node-pre-gyp install --fallback-to-build'.
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 v8-debug package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs v8-debug
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls v8-debug
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Sahar\Desktop\Clones\npm-debug.log

這可能是寡婦的問題。 強烈建議在Linux上使用節點。 使用單個“ vagrant up”命令獲取虛擬盒子和流浪漢並在Windows主機上啟動Linux虛擬機

我也強烈推薦docker。 在虛擬機內部獲取一個docker節點映像,您在大笑。

這是虛擬機的全部吸引力,您可以殺死它們並以秒/分鍾的速度創建另一個虛擬機,並且避免所有這些愚蠢的時間浪費設置問題

希望這會有所幫助

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM