Fix OpenCut Workspace URL Install Errors

The monorepo uses workspace references like workspace:*. Package managers older than npm 9 do not understand that scheme.

Quick fix

npm install -g npm@latest
# or switch to Bun
curl -fsSL https://bun.sh/install | bash

Then bootstrap from the repository root:

bun install
bun dev

Clearing stale caches

rm -rf node_modules .turbo package-lock.json
bun install

Alternative: PNPM

corepack enable
corepack prepare pnpm@8 --activate
pnpm install

Flow diagram

  flowchart LR
    A[Old npm] -->|workspace:* error| B[Install modern package manager]
    B --> C[Clean lockfiles]
    C --> D[Reinstall dependencies]
    D --> E[bun dev]

Keeping your package manager current ensures the monorepo dependencies resolve without manual patching.