storacha / w3ui

👩‍🎤 Headless, type-safe, UI components for the next generation Web3.Storage APIs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

codesandbox examples build but error when run

olizilla opened this issue · comments

We've got codesandox-ci running on our PRs and it seems to build fine, but trying to run the examples fails with an error, and no debugging info.

of note:

  • it only supports building via npm which is probably the cause of our examples not being runnable.
  • codesandbox only supports up to node v16.

It may not be possible to make our build work in npm now we rely on features of pnpm, so we may have to disable pnpm ci, as it's a confusing signal for us to get green check on PRs even when the examples fail to run.

example build: https://ci.codesandbox.io/status/web3-storage/w3ui/pr/220
example sandbox: https://codesandbox.io/s/w3ui-example-react-sign-up-in-z6obt1

oh dang :-/ I'm on board with dropping codesandbox - I remember poking around at it before the break and it seemed like the lack of support for pnpm and node 18 were symptomatic of a general lack of updates/support for it, so maybe time to move on?

it would still be nice to have the examples available in something like codesandbox, are there alternatives out there?