docs: fix Bun workspace install and local @livepeer/agent build#676
Open
eliteprox wants to merge 2 commits into
Open
docs: fix Bun workspace install and local @livepeer/agent build#676eliteprox wants to merge 2 commits into
eliteprox wants to merge 2 commits into
Conversation
Plain npm install fails on workspace:*; dist/ for @livepeer/agent is gitignored so bun install alone left Next unable to resolve the package. Document Bun, auto-build missing workspace dists on predev, and align vercel/dev.sh with bun run build:workspaces.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
workspace:*); plainnpm installfails withEUNSUPPORTEDPROTOCOL.@livepeer/agentis a local workspace package (packages/agent), not something you must publish/fetch from npm for app/Vercel builds.packages/*/distis gitignored, so a clean checkout needs a workspace build before Next can resolve it.scripts/ensure-workspace-dists.mjs+predevsobun run devbuilds missing dists automatically; fixbuild:workspacesfor Bun; updatedev.sh/vercel.json/ README / CLAUDE / get-started docs.Test plan
node_modules+packages/*/dist):bun install && bun run dev— noCan't resolve '@livepeer/agent'npm installstill documents as unsupported / fails as beforebun run build:workspacessucceedshttp://localhost:3000/api/mcp