这是indexloc提供的服务,不要输入任何密码
Skip to content

Build Failure Due to Missing Module @briefer/database #359

@JasenWood

Description

@JasenWood

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions