运行后发现 less使用:globe报错
SussieZhang opened this issue · 3 comments
SussieZhang commented
xiqiuqiu commented
问一下,你解决了没?我今天npm run serve
之后也是这个问题。
wukai198786 commented
同问,之前是好的,但是换电脑再跑就跑不起来了
twltony commented
- package.json 锁定
vue
和vue-template-compiler
为2.6.x版本, 2.7.x版本后会出现以上问题。
找到
{
"vue": "^2.6.xxx",
"vue-template-compiler": "^2.6.xxx"
...
}
去掉 ^
{
"vue": "2.6.xxx",
"vue-template-compiler": "2.6.xxx"
...
}
- 删除
node_modules
和package-lock.json
npm install