Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行后发现 less使用:globe报错 #309

Open
SussieZhang opened this issue Jul 15, 2022 · 3 comments
Open

运行后发现 less使用:globe报错 #309

SussieZhang opened this issue Jul 15, 2022 · 3 comments

Comments

@SussieZhang
Copy link

image
TypeError: Cannot set property 'parent' of undefined

@xiqiuqiu
Copy link

问一下,你解决了没?我今天npm run serve之后也是这个问题。

@wukai198786
Copy link

同问,之前是好的,但是换电脑再跑就跑不起来了

@twltony
Copy link

twltony commented Aug 17, 2022

  1. package.json 锁定vuevue-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"
...
}
  1. 删除 node_modulespackage-lock.json
  2. npm install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants