ERROR in ./~/_babel-loader@7.1.2@babel-loader/lib!./app/web/framework/entry/loader.js!./app/web/page/hello/hello.jsx
Module build failed: SyntaxError: C:/Users/xiaobin/Desktop/egg/egg-react-webpack-boilerplate/app/web/page/hello/hello.jsx: Bad character escape sequence (4:33)
2 | import React from 'react';
3 | import ReactDom from 'react-dom';
> 4 | import Hello from '\egg\egg-react-webpack-boilerplate\app\web\page\hello\hello.jsx';
| ^
5 | const state = window.__INITIAL_STATE__;
6 | ReactDom.render(<Hello {...state} />, document.getElementById('app'));
7 |
@ multi ./~/_webpack-hot-middleware@2.18.2@webpack-hot-middleware/client?path=http://127.0.0.1:9000/__webpack_hmr&noInfo=false&reload=false&quiet=false babel-loader!./app/web/framework/entry/loader.js!./app/web/page/hello/hello.jsx
ERROR in ./~/_babel-loader@7.1.2@babel-loader/lib!./app/web/framework/entry/loader.js!./app/web/page/hello/hello.jsx Module build failed: SyntaxError: C:/Users/xiaobin/Desktop/egg/egg-react-webpack-boilerplate/app/web/page/hello/hello.jsx: Bad character escape sequence (4:33)