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

SVELTE 5 (WEB): In tutorial REPL Events/DOM events section #1246

Open
zimsmlgpro opened this issue Apr 1, 2025 · 1 comment
Open

SVELTE 5 (WEB): In tutorial REPL Events/DOM events section #1246

zimsmlgpro opened this issue Apr 1, 2025 · 1 comment

Comments

@zimsmlgpro
Copy link

Previous section files still show up when going to a next section. I opened up the console log and saw the following:

Console was cleared. 
running Svelte compiler version 5.25.6 
Uncaught (in promise) Error: Invalid selection /src/lib/utils.js
    Immutable 5
        set
        reset
        Gr
        he
        he​

I have noticed this in other areas as well. I tried to recreate it because I thought it could've happened because of Firefox unloading the tab, but was unable to recreate it.

Firefox version: Version 136.0.2 (64-bit)

@JustBarnt
Copy link

I also had this happen to me when transitioning from Advanced Reactivity/Stores to Reusing Content/Snippets and Render Tags. My console.log is very different though.

The errors I have are:

[email protected]:1  Error while migrating Svelte code CompileError: The keyword 'let' is reserved
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: The keyword 'let' is reserved
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at '<URL>' from origin '<URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/App.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Expected token }
https://svelte.dev/e/expected_token
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/Counter.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/Counter.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Expected token }
https://svelte.dev/e/expected_token
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/Counter.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Expected token }
https://svelte.dev/e/expected_token
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/Counter.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Expected token }
https://svelte.dev/e/expected_token
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/Counter.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Expected token }
https://svelte.dev/e/expected_token
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/Counter.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Expected token }
https://svelte.dev/e/expected_token
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/Counter.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Expected token }
https://svelte.dev/e/expected_token
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/Counter.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Expected token }
https://svelte.dev/e/expected_token
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/Counter.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/Counter.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/Counter.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Unexpected token
https://svelte.dev/e/js_parse_error
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/Counter.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Expected token }
https://svelte.dev/e/expected_token
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/Counter.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Expected token }
https://svelte.dev/e/expected_token
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/Counter.svelte`, please check them and complete the migration manually.
[email protected]:1  Error while migrating Svelte code CompileError: Expected token }
https://svelte.dev/e/expected_token
e.migrate @ [email protected]:1
[email protected]:1 One or more `@migration-task` comments were added to `/src/lib/Counter.svelte`, please check them and complete the migration manually.
index-DHejk4o8.js:89 Console was cleared
index-DHejk4o8.js:89 running Svelte compiler version 5.25.6

Attached is also a screenshot, when going to the Snippets and Renders page two of the files from the previous section have these icons next to them, if I go back to the previous section they go away.
Image

I'm not sure if this is some kind of caching issue, but the only way to get the correct files to load for the lesson is to fully refresh the page either with F5 or hitting the refresh icon.

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