Skip to content

error TS2688: Cannot find type definition file for 'node'. #2230

@TomaszWaszczyk

Description

@TomaszWaszczyk

How to solve the error?

npm run build

> [email protected] build
> npm run clean && tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json && npm run formatjs


> [email protected] clean
> rimraf src

error TS2688: Cannot find type definition file for 'node'.
  The file is in the program because:
    Entry point of type library 'node' specified in compilerOptions


Found 1 error.

Metadata

Metadata

Assignees

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