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

Dynamic import of 'fs' not supported #61

Open
pietrorea opened this issue Jan 25, 2022 · 4 comments
Open

Dynamic import of 'fs' not supported #61

pietrorea opened this issue Jan 25, 2022 · 4 comments

Comments

@pietrorea
Copy link

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

@gqio
Copy link
Member

gqio commented Jan 25, 2022

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

@pietrorea
Copy link
Author

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)

@gqio
Copy link
Member

gqio commented Jan 26, 2022

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

@pietrorea
Copy link
Author

pietrorea commented Jan 26, 2022

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

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

2 participants