我嘗試使用錯誤
npm install --save font-awesome
但是npm
拋出錯誤
npm ERR! path C:\Users\a\Desktop\Code\faTest\node_modules\font-awesome
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\a\Desktop\Code\faTest\node_modules\font-awesome' -> 'C:\Users\a\Desktop\Code\faTest\node_modules\.font-awesome.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\a\AppData\Roaming\npm-cache\_logs\2017-11-25T16_52_23_476Z-debug.log
嘗試安裝字體真棒運行以下
npm cache clean --force
npm install -g npm
npm install
npm install --save font-awesome
,但我仍然以相同的錯誤結束。
運行Windows 10,NPM 5.5.1,節點7.9.0
任何人都得到了同樣的問題?
節點在另一個虛擬桌面上運行。停止節點解決了問題。 –