-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
vue unref error #1661
Comments
fixed in beta.42 |
@yyx990803 I really think it hasn't been fixed yet. I upgraded to beta42 in the minimal example and can run. But my full version of the project still prompts unref errors. I will try to reproduce this problem |
Do you have other dependencies that import/requires Vue? |
I’m troubleshooting, it may take some time to find out where the problem is |
yes |
Can you list them? Also check if any of them contains |
I checked the problem with this package @vueuse/core |
After I excluded this, there were other packages that had problems. I will reopen the issue after finishing finishing. thank |
I have the same problem, but it looks like an issue with ssr and the use of @vue/server-renderer as it contains Even when I do not use ref and just render the image from default App.vue I get this error: |
Try beta.43! |
@yyx990803 It can run normally. thank |
@yyx990803 Thanks for the answer and that fixed it. |
@yyx990803 After updating to beta.48, this problem reappeared, because it is the same problem, so I did not create a new one, please forgive me。 |
Hmm, are you sure? I just ran your last reproduction with beta.49 and it works just fine. You may have other deps that are causing the issue. |
It seems you are importing |
I am trying to reproduce it. Because of this error in my project, as long as "@vueuse/core": "^4.0.10" is added to |
@yyx990803 I have updated github. You can pull again. It’s amazing that I’ve tried a lot of this error. The error will only appear when the following dependencies are included. Delete one of them and the error will disappear. I don’t know if this error is vite fault "dependencies": {
"@iconify/iconify": "^2.0.0-rc.6",
"@vueuse/core": "^4.0.10",
"ant-design-vue": "2.0.0-rc.9",
"apexcharts": "^3.23.1",
"axios": "^0.21.1",
"crypto-es": "^1.2.6",
"echarts": "^4.9.0",
"lodash-es": "^4.17.20",
"vue": "^3.0.5"
}, |
Describe the bug
@yyx990803 I think there will be many such problems in this update
Reproduction
git clone https://github.com/anncwb/vite-bug
yarn && yarn serve
System Info
vite
version:beta.41Logs (Optional if provided reproduction)
vite
orvite build
with the--debug
flag.The text was updated successfully, but these errors were encountered: