Skip to content

Error Could not find TypeScript configuration file "tsconfig.build.json". #53

@hubaokun

Description

@hubaokun

[blog-with-nestjs-and-angular-api development 5/5] RUN npm run build:
#0 0.615
#0 0.615 > api@0.0.1 prebuild /thomas/src/app
#0 0.615 > rimraf dist
#0 0.615
#0 0.724
#0 0.724 > api@0.0.1 build /thomas/src/app
#0 0.724 > nest build
#0 0.724
#0 1.667
#0 1.667 Error Could not find TypeScript configuration file "tsconfig.build.json". Please, ensure that you are running this command in the appropriate directory (inside Nest workspace).
#0 1.667
#0 1.692 npm ERR! code ELIFECYCLE
#0 1.693 npm ERR! errno 1
#0 1.698 npm ERR! api@0.0.1 build: nest build
#0 1.698 npm ERR! Exit status 1
#0 1.698 npm ERR!
#0 1.698 npm ERR! Failed at the api@0.0.1 build script.
#0 1.698 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
#0 1.705
#0 1.705 npm ERR! A complete log of this run can be found in:
#0 1.706 npm ERR! /root/.npm/_logs/2022-11-21T03_06_07_442Z-debug.log


failed to solve: executor failed running [/bin/sh -c npm run build]: exit code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions