I was trying to install React-Bootstrap it but gave me this error:
fsevents wanted {“os”:“darwin”,“arch”:“any”}
npm i -f
?
> $ npm install --save react-bootstrap
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})
+ react-bootstrap@0.32.3
updated 1 package and audited 14584 packages in 238.189s
found 0 vulnerabilities
> $ npm i fsevents
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: ia32
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\di bello\AppData\Roaming\npm-cache\_logs\2018-08-22T14_26_01_743Z-debug.log
What commands should I type in to install fsevents?
npm i name-peer-dependency
is giving me errors.
I typed in this to install create the react app:
npx create-app-react new-app
So I think it should have installed both React js and DOMReact