You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8417576
Browse filesBrowse the repository at this point in the historyBrowse files
chore(examples): make setup.sh work with bun fallback and ts resolution
The demo setup script assumed a vite-plus build that ships `vp pm pack`,
`vp add`, and `vp remove`, but older globally-installed vite-plus only
ships `vp install`, so `vp run android/ios` failed with
"Command 'pm' not found". The SDK build also failed because vite-plus's
global tsc helper couldn't resolve the SDK's typescript.
- Add a package-manager shim that prefers `vp` and falls back to `bun`
(the repo's pinned package manager) for pack/add/remove.
- Export NODE_PATH=$SDK_ROOT/node_modules for `vp run build` so the
bundler resolves the project's typescript.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments