npm installation package, run the following commandnpm install --save babel-core babel-loader babel-preset-es2015 babel-preset-reac
tThe following error appears
+-- UNMET PEER DEPENDENCY react@^15.5.4
`-- UNMET PEER DEPENDENCY webpack@2
淡淡烟草味2017-05-16 13:25:59
The version of React and webpack is wrong. Try installing the version it prompts
曾经蜡笔没有小新2017-05-16 13:25:59
npm uninstall react webpack
npm install --save-dev react@^15.5.4 webpack@2