找不到模块:错误:无法解析“ core-js / es6”
我的React应用程序的构建过程出现问题。 我总是收到以下错误: 找不到模块:错误:无法解析“ core-js / es6” 如果我在polyfill.js中使用它: 导入'core-js / es6'; 那是我的package.json: { "name": "test", "version": "1.0.0", "main": "index.js", "license": "MIT", "private": true, "devDependencies": { "@babel/core": "^7.4.0", "@babel/preset-env": "^7.4.2", "@babel/preset-react": "^7.0.0", "@babel/runtime": "^7.4.2", "babel-loader": "^8.0.5", "babel-preset-es2015": "^6.24.1", "copy-webpack-plugin": "^5.0.2", "css-hot-loader": "^1.4.4", "eslint": "5.15.3", "eslint-config-airbnb": "^17.1.0", "eslint-loader": "^2.1.2", "eslint-plugin-import": "2.16.0", "eslint-plugin-jsx-a11y": "6.2.1", …