laravel Couldn't find preset"es2015"

Module build failed: Error: Couldn't find preset "es2015" relative to directory

.babelrc

{ "presets": [ [ "es2015", { "modules": false } ] ] }

npm install --save-dev babel-plugin-transform-runtime babel-preset-es2015 babel-preset-stage-2

你可能感兴趣的:(laravel Couldn't find preset"es2015")