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

Not starting when handing code as #1214

Open
lanmower opened this issue Oct 9, 2024 · 0 comments
Open

Not starting when handing code as #1214

lanmower opened this issue Oct 9, 2024 · 0 comments

Comments

@lanmower
Copy link

lanmower commented Oct 9, 2024

Bug report

Packages affected

https://github.com/lanmower/Sandpack

  • [*] sandpack-client
  • [*] sandpack-react

Description of the problem

I've reached a point on a codebase where sandPack doesn't start when providing the files as an object , but it does start when editing the code

Did I encounter a bug or did I miss a crucial step?

How to replicate:

https://github.com/lanmower/Sandpack
it's deployed on github pages

the same exact code works if you rename index.js to something else, making it the default version, and then pasting its contents on the loaded page.

Somehow changing the files state breaks it, but changing the code on the page doesnt

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