-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Labels
bugSomething isn't workingSomething isn't workinginfrastructureStuff related to LifeForge's core system architectureStuff related to LifeForge's core system architecture
Description
Describe the bug
When trying to start the API Server, it throws an error: error: Cannot find module './cjs/index.cjs' from ''
$ bun run tools/src/index.ts dev server
INFO [2026-02-12 20:07:15]: (CLI): Executing command "dev"
INFO [2026-02-12 20:07:15]: (CLI): Starting server service...
$ bun tsx watch --env-file=../env/.env.local ./src/index.ts
error: Cannot find module './cjs/index.cjs' from ''To Reproduce
Basically following the documentation steps.
- Install the latest Node.js (LTS) and Bun.
- Clone the repo.
- Install packages:
cd lifeforge && bun install --linker isolated. - Configure
env/.env.local. - Initialize DB:
bun run forge db init. - Start the Pocketbase instance:
bun run forge dev db. - Start the API Server:
bun run forge dev server.
Expected behavior
The API Server should start and we should see an output like in docs
Screenshots
Operating System
macOS
Browser
Safari
Browser Version
Version 26.2 (21623.1.14.11.9)
Device (if mobile)
No response
Additional context
After DB initialization, users collection is empty. (I hope it should be like this)
Bun: v1.3.9 (macOS x64).
Node: v24.13.1.
NPM: 11.8.0.
NVM: 0.40.3.
Pocketbase: 0.35.0.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinginfrastructureStuff related to LifeForge's core system architectureStuff related to LifeForge's core system architecture