-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Uncaught TypeError: Cannot read properties of undefined (reading '$$') #7968
Comments
I didn't run your project but from looking at it, here's what I think: Your component library does not specify a Examples: https://github.com/sveltejs/svelte-scroller/blob/b50ec28bb7fdd9dc8b08ec59b8a34ea7b1d684e6/package.json#L5 |
Yeah, this perfectly explains it given your comment here https://github.com/damianof/large-scale-apps-my-svelte-project/blob/b078d3328024ee34d7322a427eddbb218e447923/my-svelte-project/src/App.svelte#L2-L3 |
If I compile svelte component to web components. How can I use this web component at my svelte project ? |
Closing as outdated, Svelte 5 uses a different runtime. Also this sounds like using a compiled version of a Svelte component declaratively (i.e. |
Describe the bug
When referencing an external component library no longer works.
This used to work i previous version of Svelte.
Now, referencing an external component library throws this error at run time:
"Uncaught TypeError: Cannot read properties of undefined (reading '$$')"
Reproduction
Repro code is here https://github.com/damianof/large-scale-apps-my-svelte-project/tree/debug-%24%24-issue
Steps:
Logs
No response
System Info
Severity
blocking all usage of svelte
The text was updated successfully, but these errors were encountered: