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

[nuxt] [request error] [unhandled] [500] Unexpected token ';' #2

Closed
PeWe79 opened this issue Dec 30, 2024 · 3 comments
Closed

[nuxt] [request error] [unhandled] [500] Unexpected token ';' #2

PeWe79 opened this issue Dec 30, 2024 · 3 comments

Comments

@PeWe79
Copy link
Contributor

PeWe79 commented Dec 30, 2024

After update Pinia 2.3.0 and @pinia/nuxt 0.9.0 got error [nuxt] [request error] [unhandled] [500] Unexpected token ';'.
I think the problem coming from Menu and MenuButtonthats actualy from @headlessui/vue.

@gAlleb
Copy link
Owner

gAlleb commented Dec 30, 2024

Yeah, it's their new bug. It effects only dev mode. Builds work fine.

nuxt/ui#2971
vitejs/vite#19096

(Also old issue vuejs/pinia#2725)

However builds work fine. We can wait for the fix or downgrade Vite to 5. I think they'll fix it soon - vitejs/vite#19096

@gAlleb
Copy link
Owner

gAlleb commented Dec 30, 2024

yes, adding

  "overrides": {
    "vue": "latest",
    "@parcel/watcher": "2.1.0",
    "vite": "5.4.11"
  },

to package.json fixes it. However sometimes throws a warning or an error:

Pre-transform error: Failed to resolve import "#app-manifest" from "node_modules/nuxt/dist/app/composables/manifest.js?v=6d140795". Does the file exist? 

So i would wait a little bit.

@PeWe79
Copy link
Contributor Author

PeWe79 commented Dec 30, 2024

Yes, it works.

@PeWe79 PeWe79 closed this as completed Dec 30, 2024
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

2 participants