Mac上安裝完node.js後使用npm安裝其他時報錯

mac使用npm安裝hap-toolkit,輸入命令: npm install -g hap-toolkit 報錯: 解決辦法: 加上sudo執行即可 sudo npm install -g hap-toolkit
相關文章
相關標籤/搜索