OpenCut-app / OpenCut-app/OpenCut
[BUG] Error: DATABASE_URL is not set
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 89.8k
- Forks
- 8.9k
- PR merge metrics
- No merged PRs in 30d
Description
Platform
Windows 11 Pro x64
Browser
Firefox 140.0.4
Current Behavior
✓ Starting...
✓ Ready in 8s
○ Compiling /middleware ...
✓ Compiled /middleware in 658ms (108 modules)
○ Compiling / ...
✓ Compiled / in 21.3s (2097 modules)
⨯ Error: DATABASE_URL is not set
at getDb (webpack-internal:///(rsc)/../../packages/db/src/index.ts:33:15)
at (webpack-internal:///(rsc)/../../packages/db/src/index.ts:44:17)
at eval (null)
at (rsc)/../../packages/db/src/index.ts (D:\OpenCut\apps\web.next\server\app\page.js:63:1)
at webpack_require (D:\OpenCut\apps\web.next\server\webpack-runtime.js:33:33)
at (webpack-internal:///(rsc)/./src/lib/waitlist.ts:5:88)
at eval (null)
at (rsc)/./src/lib/waitlist.ts (D:\OpenCut\apps\web.next\server\app\page.js:314:1)
at webpack_require (D:\OpenCut\apps\web.next\server\webpack-runtime.js:33:33)
at (webpack-internal:///(rsc)/./src/app/page.tsx:11:90)
at eval (null)
at (rsc)/./src/app/page.tsx (D:\OpenCut\apps\web.next\server\app\page.js:118:1)
at webpack_require (D:\OpenCut\apps\web.next\server\webpack-runtime.js:33:33)
at processTicksAndRejections (null) {
page: '/'
}
○ Compiling /_error ...
✓ Compiled /_error in 4.7s (2383 modules)
GET / 500 in 29419ms
Expected Behavior
Shows OpenCut
Recurrence Probability
Always
Steps To Reproduce
- Clone opencut
- cd apps/web
- bun install
- bun run dev
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 by reading packages/db/src/index.ts around getDb and then trace its use through apps/web/src/lib/waitlist.ts and apps/web/src/app/page.tsx. Reproduce the issue with bun run dev from apps/web on Windows. Done means the root page loads and shows OpenCut instead of returning a 500 error for the missing DATABASE_URL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bun, nextjs, typescript
- Domain
- backend, database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100