[Node.js] 關於在 Windows 上執行 npm 報錯 Error: ENOENT

狀況:在 Windows 上執行 npm i 時回報 Error: ENOENT, stat 'C:\Users\\AppData\Roaming\npm' 此錯誤訊息。 alt

解法:在對應目錄下創建資料夾即可解決 ( AppData 是隱藏資料夾 )。

Larry

Having being a full stack engineer. Committed to the promotion of Hackschooling and maker culture. We expect coding can change the world. Contact us : [email protected]

Taiwan
ALL RIGHTS RESERVED. COPYRIGHT © 2016. Designed and Coded by Makee.io