0
當我嘗試安裝通過NPM角,我收到此錯誤信息:角2/4 NPM安裝問題
NPM安裝-g @角/ CLI
npm ERR! path C:\Users\myname\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\acorn
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\myname\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\acorn' -> 'C:\Users\myname\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\.acorn.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\myname\AppData\Roaming\npm-cache\_logs\2017-07-26T15_20_28_022Z-debug.log
當前設置:
節點-v v6.11.1
NPM -v 5.3.0
我建議重新安裝節點,NPM 然後再試 – Rakeschand
並且還重新安裝後,一旦重新啓動機器。一個問題:你在哪裏運行這個命令(在哪條路徑上)? – SKSpall
貌似windoze ...嘗試從eleveted(管理員)運行命令提示符 – ojf