PanJiaChen / vue-element-admin

:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin
MIT License
88k stars 30.47k forks source link

安装了,启动不了 #3411

Open 13116176539 opened 4 years ago

13116176539 commented 4 years ago

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(截图或动态图)

微信图片_20200903150151

微信图片_20200903145951

13116176539 commented 4 years ago

image

nodemodules下面的一个js文件, 把su 删掉就好

13116176539 commented 4 years ago

image

sususususususs commented 4 years ago

我也是这个问题一模一样,是要把su去掉就好了吗