codesandbox / sandpack

A component toolkit for creating live-running code editing experiences, using the power of CodeSandbox.
https://sandpack.codesandbox.io
Apache License 2.0
4.84k stars 343 forks source link

Mac can not load iframe with template nextjs #809

Open jerrywu001 opened 1 year ago

jerrywu001 commented 1 year ago

Bug report

Packages affected

Description of the problem

From sandpack-client@2.1.0

image

Chrome version: 112.0.5615.12

image
danilowoz commented 1 year ago

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 commented 1 year ago

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

jerrywu001 commented 1 year ago

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

SSTPIERRE2 commented 7 months ago

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 😅