mac使用npm安装hap-toolkit,输入命令:
npm install -g hap-toolkit
报错:
解决办法:
加上sudo执行即可
sudo npm install -g hap-toolkit