sandpack icon indicating copy to clipboard operation
sandpack copied to clipboard

Mac can not load iframe with template nextjs

Open jerrywu001 opened this issue 2 years ago • 4 comments

Bug report

Packages affected

  • [x] sandpack-client
  • [ ] sandpack-react

Description of the problem

From [email protected]

image

Chrome version: 112.0.5615.12

image

jerrywu001 avatar Mar 07 '23 01:03 jerrywu001

Hey, @jerrywu001. Thanks once again for reporting these issues. Can you tell us when and how this happens? I'm interested to know how we can reproduce this error

danilowoz avatar Mar 07 '23 09:03 danilowoz

Could you maybe record your screen with the console devtool opened?

danilowoz avatar Mar 07 '23 09:03 danilowoz

https://codesandbox.io/p/sandbox/node-templte-issue-forked-ebdxwf

I tested on two windows and my mac, same.

https://user-images.githubusercontent.com/12525415/223407241-71bcdfdf-40f5-45af-870c-269735c091af.mov

image image

@danilowoz

jerrywu001 avatar Mar 07 '23 11:03 jerrywu001

I'm seeing the same issue & error message on my Macbook. The Nextjs template on the quickstart page sometimes successfully loads on the first try, but it usually fails. It does take a very long time to spin up, around 30 seconds. Oddly enough, if I click the "refresh preview" button it actually loads 😅

SSTPIERRE2 avatar Mar 06 '24 15:03 SSTPIERRE2