ERROR in ./node_modules/_babel-core@6.26.3@babel-core/lib/helpers/resolve.js
Module not found: Error: Can"t resolve "module" in "E:\react07\node_modules\_babel-core@6.26.3@babel-core\lib\helpers"
@ ./node_modules/_babel-core@6.26.3@babel-core/lib/helpers/resolve.js 34:14-31
@ ./node_modules/_babel-core@6.26.3@babel-core/lib/helpers/resolve-from-possible-names.js
@ ./node_modules/_babel-core@6.26.3@babel-core/lib/helpers/resolve-plugin.js
@ ./node_modules/_babel-core@6.26.3@babel-core/lib/api/node.js
@ ./node_modules/_babel-core@6.26.3@babel-core/index.js
@ ./app/Days.js
@ ./app/main.js
"dependencies": {
"dgram": "^1.0.1",
"dns": "^0.2.2",
"express": "^4.16.3",
"fs": "^0.0.1-security",
"jquery": "^3.3.1",
"net": "^1.0.2",
"tls": "^0.0.1",
"webpack": "^4.16.5"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-loader": "^7.1.5",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"mssql": "^4.1.0",
"react": "^16.4.2",
"react-dom": "^16.4.2"
},
module: {
rules: [
{
test: /\.js$/,
exclude: /(node_modules|bower_components)/,
use: {
loader: "babel-loader",
options: {
"presets": [
["env", {
"targets": {
"node": "current"
}
}],
["react"]
]
}
}
}
]
},