TS5058

error TS5058: The specified path does not exist: ‘test.json’.

Broken Code ❌

1
npx tsc --project test.json

Fixed Code ✔️

You probably don’t have a TS config named test.json. Try to load tsconfig.json:

1
npx tsc --project tsconfig.json