Worker was crashing with MODULE_NOT_FOUND for @codeboard/database because the package only had TypeScript source and no build step. Added tsconfig.json, changed build script to compile TS, and updated Dockerfile to copy compiled dist into worker stage.