lenve / vhr

微人事是一个前后端分离的人力资源管理系统,项目采用SpringBoot+Vue开发。
http://vhr.javaboy.org
27.28k stars 10.29k forks source link

Vue run serve报Unexpected token #226

Open peng051410 opened 4 years ago

peng051410 commented 4 years ago

在安装依赖包后,执行Vue run serve命令,但是报Unexpected token错误,我试着去掉了一个,但是其它包还有,请求这种是什么问题?

`/Users/tomyli/github/vhr/vuehr/node_modules/read-pkg/index.js:29 ...options ^^^

SyntaxError: Unexpected token ... at createScript (vm.js:74:10) at Object.runInThisContext (vm.js:116:10) at Module._compile (module.js:533:28) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:503:32) at tryModuleLoad (module.js:466:12) at Function.Module._load (module.js:458:3) at Module.require (module.js:513:17) at require (internal/module.js:11:18) at Object. (/Users/tomyli/github/vhr/vuehr/node_modules/@vue/cli-service/lib/Service.js:5:17) `