Problems installing webpack to install reactjs

0

I want to install reactjs and in the step of installing webpack problems start.

I execute npm 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"})

use xubuntu 16.04 x64.

What can I do ????

    
asked by Rafael Hernández 10.02.2017 в 13:17
source

1 answer

1
  

What can I do?

Nothing. When you install modules there are always warnings and this is due to the modules themselves, that is, dependencies on them, maybe 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.

    
answered by 10.02.2017 / 15:24
source