Skip to content

Fails to compile when tsconfig has incremental: true #606

@Gozala

Description

@Gozala

Output:

ncc build src/index.ts
ncc: Version 0.24.1
ncc: Compiling file index.js
ncc: Using [email protected] (local user-provided)
Error: [tsl] ERROR
      TS5074: Option '--incremental' can only be specified using tsconfig, emitting to single file or when option `--tsBuildInfoFile` is specified.
    at /Users/gozala/.config/yarn/global/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:1:3198784
    at /Users/gozala/.config/yarn/global/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:1:2305642
    at eval (eval at create (/Users/gozala/.config/yarn/global/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:1:1291515), <anonymous>:11:1)

Reproducible on the following tree https://github.com/Gozala/typescript-error-reporter-action/tree/a103de6e96e3797e40b455e878b25e8cf3a8b2d1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions