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

Unexpected token in example #601

Open
yannickh2 opened this issue Dec 20, 2022 · 2 comments
Open

Unexpected token in example #601

yannickh2 opened this issue Dec 20, 2022 · 2 comments

Comments

@yannickh2
Copy link

Hello,

I am getting an unexpected token error in your example.
If I remove ":" and change it to "}" the app compiles but video will not load.

I tried all of the example files and switch loads the first video, but not any youtube videos.

image

Best,
Yannick

@gkatsev
Copy link
Member

gkatsev commented Dec 20, 2022

Is this an error from something like VSCode? It should work, I just verified locally.

The switch example has buttons for youtube and oceans, which seems to be working for me.

@yannickh2
Copy link
Author

hm
I build with svelte so maybe it is an error from their side?

npm run build

kit-template-default@0.0.1 build
vite build

vite v3.1.0 building for production...

✓ 8 modules transformed.

[vite-plugin-svelte]

/Users/.../src/routes/planksexplanation/+page.svelte:13:29 Expected }

error during build:
ParseError: Expected }
at error (file:///Users/yannick...node_modules/svelte/compiler.mjs:17746:19)

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