UNMET PEER DEPENDENCY babel-core@5.8.38

Viewed 3005

I was trying to install babel and babel presets. But I seem to encountered a critical error that prevents me from installation.

I typed in the following command:

npm install --save-dev babel-core babel-loader babel-preset-es2015 babel-preset-stage-0 babel-preset-react

but it rejects me with the following error message:

    └─┬ UNMET PEER DEPENDENCY babel-core@5.8.38
  └─┬ regenerator@0.8.40
    ├─┬ defs@1.1.1
    │ └── esprima-fb@15001.1001.0-dev-harmony-fb 
    ├── esprima-fb@15001.1001.0-dev-harmony-fb 
    └─┬ recast@0.10.33
      └── esprima-fb@15001.1001.0-dev-harmony-fb 

npm WARN optional Skipping failed optional dependency /babel/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.9
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.9
npm WARN babel-loader@6.2.4 requires a peer of babel-core@^6.0.0 but none was installed.
npm WARN graphql_demo@1.0.0 No repository field.
npm WARN graphql_demo@1.0.0 No license field.
npm ERR! code 1

what seems to be the problem?

1 Answers
Related