从别人那里拿来的react 项目在windows 上面跑报错,Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
解决方法:
npm i -f
或者降级,node6.10是warning
https://github.com/angular/angular/issues/13935
------------------------------
node -g下载的插件存放位置修改
nodejs\node_modules\npm\npmrc