You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unexpected error(s) while parsing tsconfig (./tsconfig.json):
No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'.
TypeScript 4.4 breaking change causes below error.
Release blog doesn't tell this breaking change.
problem
error log
jest.config.ts
tsconfig.json
repo
https://github.com/hagevvashi/exp-dts-jest
cause of the problem
microsoft/TypeScript#44710 adds the call of
directoryExists
method.https://github.com/microsoft/TypeScript/blob/40fa0c9f118aa1ed2b06ae0b3eed3946d5d2c612/src/compiler/utilities.ts#L6593
This PR makes
ts.parseJsonConfigFileContent
return above error and empty fileNames array.workaround
The workaround is just changing the tsconfig.json path to the absolute one.
sample PR
hagevvashi/exp-dts-jest#1
resolution
I have no idea.
Is there anybody who has ideas for this issue?
The text was updated successfully, but these errors were encountered: