npm ERR! Refusing to delete
删除node_modules,重新执行npm install
SyntaxError: Unexpected token
版本问题,找到匹配的版本
node 与 npm 版本不匹配
https://nodejs.org/zh-cn/download/releases/
下载包超时问题
1 | npm config set registry https://registry.npm.taobao.org |
npm ERR! notsup Unsupported platform for fsevents@1.0.14: wanted {“os”:“darwin”,“arch”:“any”}
1 | 方法一 npm install-g npm@3.10.7 (更高版本会强制在window下安装fsevent,而fsevent只会在mac系统上可用) |