win10
dependencies:
"@babel/runtime": "^7.1.2",
"react": "^16.5.2",
"react-dom": "^16.5.2"
devDependencies:
"@babel/core": "^7.1.2",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"babel-loader": "^8.0.4",
webpack.config.js

.babelrc

Error Image:

@bibiehy i got same error now. what you did to resolved it.
anyone managed to fix this issue ?
This error implies that there are random unexpected characters in the config file content. If you're getting this, I recommend deleting the content on the line with the error and retyping it from scratch. Most likely, you've copy-pasted the config from somewhere that inserted a weird character.
Most helpful comment
@bibiehy i got same error now. what you did to resolved it.