Bad shrinkwrap - npm install: EBADPLATFORM
glennsl opened this issue · 0 comments
glennsl commented
I get this error when I try to do npm install
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: linux
npm ERR! notsup Actual Arch: x64
This is due to being shrinkwrapped on a mac. Removing the "fsevents" tree from "npm-shrinkwrap.json" seems to work. As would removing "npm-shrinkwrap.json" I suppose, but that would kind of defeat the purpose of shrinkwrapping. I don't know if npm is able to fix the missing fsevents on your machine though.