Closed
Description
This has been showing up on builds here and there. Example: #4334 -> https://app.netlify.com/sites/typescript-eslint/deploys/61c0fa45d8c444000897bf3a
4:50:25 PM: ———————————————————————————————————————————————
4:50:27 PM: > nx run @typescript-eslint/eslint-plugin:build
4:50:27 PM: yarn run v1.22.10
4:50:27 PM: $ tsc -b tsconfig.build.json
4:50:32 PM: ../types/src/ts-estree.ts(1,27): error TS2307: Cannot find module './ast-spec' or its corresponding type declarations.
4:50:32 PM: ../types/src/ts-estree.ts(4,16): error TS2664: Invalid module name in augmentation, module './ast-spec' cannot be found.
4:50:32 PM: ../types/src/ts-estree.ts(21,27): error TS2307: Cannot find module './ast-spec' or its corresponding type declarations.
4:50:32 PM: ../types/src/index.ts(1,32): error TS2307: Cannot find module './ast-spec' or its corresponding type declarations.
4:50:32 PM: ../types/src/index.ts(2,33): error TS2307: Cannot find module './ast-spec' or its corresponding type declarations.
4:50:33 PM: error Command failed with exit code 2.
...does anybody know why?