Open 13116176539 opened 4 years ago
npm install 安装好 npm run dev 启动,然后就报错了
ERROR Failed to compile with 1 errors14:50:03
error in ./src/main.js
Syntax Error: C:\Users\60266\Downloads\vue-element-admin-master\node_modules\eslint\lib\rules\no-octal-escape.js:41 /^(?:[^\]|\.)*?\([0-3][0-7]{1,2}|[4-7][0-7]|0(?=[89])|[1-7])/su ^
SyntaxError: Invalid regular expression flags at Array.forEach ()
@ multi (webpack)-dev-server/client?http://192.168.230.104:9527&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
nodemodules下面的一个js文件, 把su 删掉就好
我也是这个问题一模一样,是要把su去掉就好了吗
Bug report(问题描述)
npm install 安装好 npm run dev 启动,然后就报错了
Steps to reproduce(问题复现步骤)
ERROR Failed to compile with 1 errors14:50:03
error in ./src/main.js
Syntax Error: C:\Users\60266\Downloads\vue-element-admin-master\node_modules\eslint\lib\rules\no-octal-escape.js:41 /^(?:[^\]|\.)*?\([0-3][0-7]{1,2}|[4-7][0-7]|0(?=[89])|[1-7])/su ^
SyntaxError: Invalid regular expression flags at Array.forEach ()
@ multi (webpack)-dev-server/client?http://192.168.230.104:9527&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
Screenshot or Gif(截图或动态图)