-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'accept') #460
Comments
That's unrelated to vps. That's probably a problem somewhere between Vue and Vite. Does updating the dependencies solve the problem? |
if I change vite version from ^3.0.4 to 3.0.4 the error can be removed but clientRouting has runtime error while it is true in _default.page.client.ts file Uncaught (in promise) Error: [[email protected]][Wrong Usage] navigate() is only available when using Client Routing |
I cannot reproduce (I updated all dependencies expect of Can you publish a reproduction leading to |
As for the Vite-Vue bug, I can indeed reproduce it. The best would be the create a reproduction starting from |
This is repo in Stackblitz and GitHub: https://stackblitz.com/github/hamedg68/vps-V0.4.36?file=pages/index/index.page.vue 1 - the counter button does not work with this runtime error : 2 - change vite version from ^3.0.4 to 3.0.4 if using vite version "3.0.4" and vite-plugin-ssr version "0.4.31" both errors gone !!! |
I could reproduce both errors. For the first error, it's a Vite bug, so we should create a Vite ticket for that. As for the second error, it's fixable on vite-plugin-ssr's side. It's not a completely trivial fix (Vite's latest version breaks an assumption that vite-plugin-ssr repeatedly relies on). ETA later today / tomorrow. |
for those who want to use current latest vps version(v0.4.36) without any error set vite version to 3.1.0-beta.1 |
Alright, the second error is fixed in
👍 Thanks, good to know. |
I believe the first problem is linked to the same problem as #461 . |
I actually did try setting Thanks @milanio. |
That's expected until Vite fixes the bug. |
Description
after fetching packages and run vuefull example at last commit (0.4.36), showing runtime error
Error Stack
The text was updated successfully, but these errors were encountered: