xojs/xo

0.52 extending tsconfig from node_modules causes error

EdJoPaTo opened this issue · 3 comments

I assume this is from #677

Error: ENOENT: no such file or directory, open '<path>/<project-working-directory>/<extends-string>'

The extends string seems to be exactly what is specified in the tsconfig.json extends value.

I tried both @sindresorhus/tsconfig and @sindresorhus/tsconfig/tsconfig.json and both fail.
This happens both locally on macOS and Linux and in GitHub CI Runners.

@EdJoPaTo thanks for the report, will get this fixed ASAP. Overlooked that extends uses node resolution and not always relative paths to extend from.