OpenCut-app / OpenCut-app/OpenCut
[BUG] error running
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 89.8k
- Forks
- 8.9k
- PR merge metrics
- No merged PRs in 30d
Description
Platform
MacMini M4 Apple Silicon
Browser
Firefox
Current Behavior
docker-compose up -d
Compose can now delegate builds to bake for better performance.
To do so, set COMPOSE_BAKE=true.
[+] Building 22.0s (20/24) docker:desktop-linux
=> [web internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.22kB 0.0s
=> [web internal] load metadata for docker.io/oven/bun:alpine 1.2s
=> [web internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [web base 1/1] FROM docker.io/oven/bun:alpine@sha256:a7df687a2 0.0s
=> => resolve docker.io/oven/bun:alpine@sha256:a7df687a2f684ee2f7 0.0s
=> [web internal] load build context 0.0s
=> => transferring context: 14.26kB 0.0s
=> CACHED [web builder 1/13] WORKDIR /app 0.0s
=> CACHED [web runner 2/7] RUN addgroup --system --gid 1001 nodej 0.0s
=> CACHED [web runner 3/7] RUN adduser --system --uid 1001 nextjs 0.0s
=> CACHED [web builder 2/13] COPY package.json package.json 0.0s
=> CACHED [web builder 3/13] COPY bun.lock bun.lock 0.0s
=> CACHED [web builder 4/13] COPY turbo.json turbo.json 0.0s
=> CACHED [web builder 5/13] COPY apps/web/package.json apps/web 0.0s
=> CACHED [web builder 6/13] COPY packages/db/package.json packa 0.0s
=> CACHED [web builder 7/13] COPY packages/auth/package.json pac 0.0s
=> CACHED [web builder 8/13] RUN bun install 0.0s
=> CACHED [web builder 9/13] COPY apps/web/ apps/web/ 0.0s
=> CACHED [web builder 10/13] COPY packages/db/ packages/db/ 0.0s
=> CACHED [web builder 11/13] COPY packages/auth/ packages/auth/ 0.0s
=> CACHED [web builder 12/13] WORKDIR /app/apps/web 0.0s
=> ERROR [web builder 13/13] RUN bun run build 20.8s
[web builder 13/13] RUN bun run build:
0.095 $ next build
0.883 ▲ Next.js 15.4.1
0.883
0.888 Creating an optimized production build ...
10.74 [webpack.cache.PackFileCacheStrategy] Serializing big strings (128kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)
16.52 ✓ Compiled successfully in 11.0s
16.53 Linting and checking validity of types ...
20.28 Failed to compile.
20.28
20.28 ./src/components/ui/draggable-item.tsx:142:78
20.28 Type error: Type '{ onClick: () => void; tooltipText: string; }' is not assignable to type 'IntrinsicAttributes & { className?: string | undefined; onClick?: (() => void) | undefined; }'.
20.28 Property 'tooltipText' does not exist on type 'IntrinsicAttributes & { className?: string | undefined; onClick?: (() => void) | undefined; }'.
20.28
20.28 140 | {preview}
20.28 141 |
20.28 > 142 | {showPlusOnDrag && }
20.28 | ^
20.28 143 |
20.28 144 |
20.28 145 | ,
20.32 Next.js build worker exited with code: 1 and signal: null
20.32 error: script "build" exited with code 1
failed to solve: process "/bin/sh -c bun run build" did not complete successfully: exit code: 1
Expected Behavior
No response
Recurrence Probability
Always
Steps To Reproduce
- Clone repo
- run docker-compose up -d
Anything else?
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in apps/web/src/components/ui/draggable-item.tsx at line 142, where the PlusButton is passed tooltipText, and inspect the PlusButton definition and nearby usages. Run bun run build or docker-compose up -d to reproduce the TypeScript error. Done means the production build completes without this prop-type failure and the button behavior remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bun, docker, nextjs, typescript
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100