Skip to content

fix(samples): pin vite 7 and open CodeSandbox on the sample branch - #138

Merged
gaelsimon merged 1 commit into
masterfrom
fix/codesandbox-node
Sep 4, 2026
Merged

fix(samples): pin vite 7 and open CodeSandbox on the sample branch#138
gaelsimon merged 1 commit into
masterfrom
fix/codesandbox-node

Conversation

@gaelsimon

@gaelsimon gaelsimon commented Sep 2, 2026

Copy link
Copy Markdown
Member

Samples never start in CodeSandbox: Vite 8 pulls rolldown, and the sandbox's default Node sits below the engines floor Vite declares, so the native binding is skipped silently and vite dies on startup. Pinning back to the rollup line fixes it without a devcontainer, which would make every sandbox rebuild an image before booting.

Second, separate bug in the same flow: the link pointed at master/dist/..., where .env is gitignored, so samples opened without an API key. It now opens the per-sample branch, where .env is committed.

Test: open a sample from the menu — it should boot on the default image, with its key.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@gaelsimon gaelsimon changed the title chore: update node Update node for CodeSandbow Sep 2, 2026
@gaelsimon gaelsimon changed the title Update node for CodeSandbow Update node for CodeSandbox Sep 2, 2026
@gaelsimon
gaelsimon force-pushed the fix/codesandbox-node branch from 5336346 to ed47900 Compare September 3, 2026 07:21
@gaelsimon gaelsimon changed the title Update node for CodeSandbox fix(samples): pin vite 7 and open CodeSandbox on the sample branch Sep 3, 2026
@gaelsimon gaelsimon self-assigned this Sep 3, 2026
@gaelsimon
gaelsimon merged commit 4304b11 into master Sep 4, 2026
19 checks passed
@gaelsimon
gaelsimon deleted the fix/codesandbox-node branch September 4, 2026 08:10
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

Successfully merging this pull request may close these issues.

2 participants