I tried to install Babel and Babel presets. But I seem to have encountered a critical error that is stopping me from installing.
I typed the following command:
npm install
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 is the problem?
source share