simba icon indicating copy to clipboard operation
simba copied to clipboard

Dynamic import of 'fs' not supported

Open pietrorea opened this issue 3 years ago • 4 comments

When I click on "See it in action", none of the components load for me:

Screen Shot 2022-01-25 at 2 26 00 PM

pietrorea avatar Jan 25 '22 19:01 pietrorea

Hello @pietrorea

I think you are using Safari here.

Could you please confirm it works with Firefox and Chrome please ?

We are working on for Safari issue (known issue with esbuild running as wasm inside the browser in safari)

Thanks

gqio avatar Jan 25 '22 20:01 gqio

Hi there - yes, I am using Safari.

  • Chrome: it loads for me
  • Firefox: doesn't show an error message like in Safari, but it gets stuck in "Initializing compilation toolchain" (2nd step)

pietrorea avatar Jan 26 '22 03:01 pietrorea

Hello @pietrorea

Do you have something in the console in dev tools ? It looks like working on my side. We have still errors on some components. but for most of them should work.

Could you please share the link where you are experiencing this ?

Thanks for raising this issue

gqio avatar Jan 26 '22 09:01 gqio

Howdy - no problem, thank our for extending Lion. I've been curious about that approach. Ok, so I'm clicking on Simba from your website, so the link is:

https://backlight.dev/edit/5vtJtbY04aoD1dGKcsu1/introduction/doc/index.md?p=doc

This is what I see on my Safari console:

Screen Shot 2022-01-26 at 11 56 04 AM

This is my Firefox console:

Screen Shot 2022-01-26 at 11 58 13 AM

I'm on an M1 Macbook Pro running the latest version of the OS and browsers. Hope that helps

pietrorea avatar Jan 26 '22 16:01 pietrorea