I want to install reactjs and in the step of installing webpack the problems start.
executednpm install webpack -g
and then I get these warnings
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/webpack/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
I use xubuntu 16.04 x64.
What I can do????
Any. When you install modules there are always warnings and this is due to the modules themselves, that is, dependencies on them, perhaps deprecated, etc. The warning you show is because the module
fsevents
only works on MacOS ( "os":"darwin" ) and you are running GNU/Linux. This is not a problem, because this dependency is marked as optional in webpack.