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
Unexpected token { (Nuxt) #6
Comments
Hey, |
👍 |
Sorry for the delay! |
Looks like it's still happening. Took a look at the file again and it looks like it still has ES6 imports. Possibly forgot to rebuild for it? Also made a barebones Nuxt project (using |
You may retry it now - v1.3.1 |
Alright seems to be fixed in v1.3.1 now. I seem to be getting a compile error for one of my components but unsure if it's the plugin or me. Removing it works fine though. Thanks for the help 👍 |
On second look it seems to be occuring with, any https://gist.github.com/Ovyerus/a89b9120b9209f6f2db89cbb70cb8f47 |
What do you exactly mean with |
Any |
Ok, that's crazy. Is this problem reproducible in a simple Nuxt app? If so, can you provide me an example project? Then I could look into it :) |
Alright so I go to test it in a clean one, and of course it doesn't come up, even when I try testing it again in the main project. I'll try to see if I can properly recreate it if it crops up again. Only thing I can think that's different is that it was occuring on my laptop, but not sure why that'd change anything. |
Ok, good to hear that it works. |
Using Nuxt, when I try to load the library in the way shown in the examples, I get an
Unexpected token {
syntax error. My guess from looking at the bundled/compiled code in the package, is that for reason some the ES6 import/export statements are causing it, but I'm not sure.The text was updated successfully, but these errors were encountered: