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

Playground editor throws an error if .svelte.js file is added - Uncaught TypeError: Cannot read properties of undefined (reading '0') #705

Open
Leonidaz opened this issue Oct 29, 2024 · 0 comments

Comments

@Leonidaz
Copy link

Leonidaz commented Oct 29, 2024

Steps to replicate:

  • Go to the playground playground
  • switch the file tab to something.svelte.js
  • console now has an error:
Editor.CTcXyXIj.js:426 Uncaught TypeError: Cannot read properties of undefined (reading '0')
    at Editor.CTcXyXIj.js:426:6763
    at jt (runtime.KO4QJO6K.js:1:8130)
    at St (runtime.KO4QJO6K.js:1:3713)
    at Rt (runtime.KO4QJO6K.js:1:3762)
    at M (runtime.KO4QJO6K.js:1:7804)
    at In (runtime.KO4QJO6K.js:1:9187)
    at Ut (runtime.KO4QJO6K.js:1:9081)
    at Sn (runtime.KO4QJO6K.js:1:9341)
  • typing anything in the file causes this error
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

1 participant