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
500 _unref is not defined #14550
Comments
Can you see what the line of code in the terminal is referring to? Would you provide a reproduction? 🙏 |
Same problem for me, any v-bind in css causes this.
Runs fine in dev mode, but proper build gives "500 _unref is not defined"
And _unref is never imported and this is the only place it appears, replacing with vue_cjs_prod.unref fixes the problem |
@antfu do you think this might be an auto-import issue? Reproduction: https://stackblitz.com/edit/github-eevswz |
This is an upstream @vitejs/plugin-vue bug. I am investigating and will send a fix. |
Upstream PR: vuejs/core#6489 |
Environment
Linux
v16.16.0
3.0.0-rc.8
yarn@1.22.19
vite
typescript
,srcDir
,dir
-
-
Reproduction
Describe the bug
When using a computed propeties in a component, I get the error "500
_unref is not defined" when running yarn build, yarn preview.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: