**npm ERR!** code EBADPLATFORM
**npm ERR!** notsup Unsupported platform for [email protected]: wanted {"os":"linux","arch":"any"} (current: {"os":"darwin","arch":"x64"})
**npm ERR!** notsup Valid OS:    linux
**npm ERR!** notsup Valid Arch:  any
**npm ERR!** notsup Actual OS:   darwin
**npm ERR!** notsup Actual Arch: x64
This is possibly due to the dev package which gets installed with npm and this problem generally occurs with Mac OS.
Run the below command to remove the dev package.
npm uninstall dev --save
I hope I'm able to help with this answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With