briefercloud / briefercloud/briefer
Build Failure Due to Missing Module @briefer/database
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to run start-dev.sh, and the build for @briefer/editor fails due to a missing module error:
```
#24 [briefer-db_migration installer 8/8] RUN TSC_COMPILE_ON_ERROR=true yarn turbo run build --filter=@briefer/api...
#24 5.767 @briefer/editor:build: src/blocks/sql.ts(1,37): error TS2307: Cannot find module '@briefer/database' or its corresponding type declarations.
#24 5.787 @briefer/editor:build: error Command failed with exit code 2.
#24 5.787 @briefer/editor:build: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
#24 5.795 @briefer/editor:build: ERROR: command finished with error: command (/app/packages/editor) /tmp/yarn--1743521450805-0.8678216144731314/yarn run build exited (2)
#24 5.798 @briefer/editor#build: command (/app/packages/editor) /tmp/yarn--1743521450805-0.8678216144731314/yarn run build exited (2)
#24 5.798
#24 5.798 Tasks: 1 successful, 3 total
#24 5.798 Cached: 0 cached, 3 total
#24 5.798 Time: 5.256s
#24 5.798 Failed: @briefer/editor#build
#24 5.798
#24 5.800 ERROR run failed: command exited (2)
#24 5.811 error Command failed with exit code 2.
#24 5.811 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
#24 ERROR: executor failed running [/bin/sh -c TSC_COMPILE_ON_ERROR=true yarn turbo run build --filter=@briefer/api...]: exit code: 2
------
> [briefer-db_migration installer 8/8] RUN TSC_COMPILE_ON_ERROR=true yarn turbo run build --filter=@briefer/api...:
#24 5.798 @briefer/editor#build: command (/app/packages/editor) /tmp/yarn--1743521450805-0.8678216144731314/yarn run build exited (2)
#24 5.798
#24 5.798 Tasks: 1 successful, 3 total
#24 5.798 Cached: 0 cached, 3 total
#24 5.798 Time: 5.256s
#24 5.798 Failed: @briefer/editor#build
#24 5.798
#24 5.800 ERROR run failed: command exited (2)
#24 5.811 error Command failed with exit code 2.
#24 5.811 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
------
failed to solve: executor failed running [/bin/sh -c TSC_COMPILE_ON_ERROR=true yarn turbo run build --filter=@briefer/api...]: exit code: 2
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by running start-dev.sh and inspect packages/editor/src/blocks/sql.ts, where the TypeScript compiler reports that @briefer/database cannot be found. Trace the package resolution in the repository and rerun the reported yarn turbo build command; done means the @briefer/editor build completes without this missing-module error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100