OpenCut icon indicating copy to clipboard operation
OpenCut copied to clipboard

[README] Missing bun install step in development instructions

Open TanvirTian opened this issue 4 months ago • 2 comments

Description: Following the README's Development section exactly as written results in an error when running moon run web:dev. proto use correctly installs Bun itself (along with the other pinned tools from .prototools), but it does not install the project's dependencies via bun install. The README never mentions this step.

Steps to reproduce after installing proto:

cd /OpenCut
proto use
moon run web:dev

Result: `Image

Root cause

The README jumps straight from proto use to moon run web:dev with no bun install step in between.

the working fix is:

cd apps/web
bun install
cd ../..
moon run web:dev

Suggested README fix

Add an explicit bun install step (run inside each app directory, e.g. apps/web) before the moon run *:dev commands.

Offer: Happy to submit a PR with a corrected setup section if useful, even given the current contribution freeze

TanvirTian avatar Jul 14 '26 18:07 TanvirTian

Description: Following the README's Development section exactly as written results in an error when running moon run web:dev. proto use correctly installs Bun itself (along with the other pinned tools from .prototools), but it does not install the project's dependencies via bun install. The README never mentions this step.

Steps to reproduce after installing proto:

cd /OpenCut proto use moon run web:dev Result: `Image

Root cause

The README jumps straight from proto use to moon run web:dev with no bun install step in between.

the working fix is:

cd apps/web bun install cd ../.. moon run web:dev Suggested README fix

Add an explicit bun install step (run inside each app directory, e.g. apps/web) before the moon run *:dev commands.

Offer: Happy to submit a PR with a corrected setup section if useful, even given the current contribution freeze

an into this as well when setting up the repo. The Moon config relies on Bun, but we need to run:

bun install

either in the root (which installs workspace dependencies) or inside the individual package directories, otherwise Moon fails instantly because the CLI tools it delegates to are missing node_modules.

I have updated the README on my fork (jigglu/OpenCut @ fix/easy-contributions) to include this step in the setup instructions. Let me know if you would like me to open a PR for this.

jigglu avatar Jul 15 '26 16:07 jigglu

this was a bug with moon not running bun install automatically, it's now fixed 👍

mazeincoding avatar Jul 17 '26 21:07 mazeincoding