-
Notifications
You must be signed in to change notification settings - Fork 60
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
Error 500 Unexpected token ':'
with Nuxt v3.9+
#67
Comments
Same with Nuxt.js 3.11 |
ref: SeregPie/VueWordCloud#67 vue-word-cloud has issue in Nuxt3.9+
I've found a workaround for this problem. Simply define the component and plugin-file as client-only by renaming them e.g. to |
I tried your workaround, @codeflorist , and found some hint. It works (even without forcing the client side), if I change the route from another page, but the error appears when I start with a route that contains the component. So, it seems to have something to do with SSR: starting with the component active, rendering is done server-side and then it errors in this line:
The last |
Using this package with Nuxt versions higher than v3.8 throws the following error:
here is a reproduction:
https://stackblitz.com/edit/nuxt-starter-erkavw?file=package.json
changing nuxt dependency to
~3.8.0
fixes the problem.The text was updated successfully, but these errors were encountered: