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
yarn example:api
yarn run v1.22.10
$ cd example/api && ts-node main.ts
/Users/xxx/Lab/tsconfig-paths/node_modules/ts-node/src/index.ts:820
return new TSError(diagnosticText, diagnosticCodes);
^
TSError: ⨯ Unable to compile TypeScript:
error TS5083: Cannot read file '/Users/xxx/Lab/tsconfig-paths/example/base-tsconfig.json'.
at createTSError (/Users/xxx/Lab/tsconfig-paths/node_modules/ts-node/src/index.ts:820:12)
at reportTSError (/Users/xxx/Lab/tsconfig-paths/node_modules/ts-node/src/index.ts:824:19)
at createFromPreloadedConfig (/Users/xxx/Lab/tsconfig-paths/node_modules/ts-node/src/index.ts:835:36)
at phase4 (/Users/xx/Lab/tsconfig-paths/node_modules/ts-node/src/bin.ts:469:44)
at bootstrap (/Users/xxx/Lab/tsconfig-paths/node_modules/ts-node/src/bin.ts:85:10)
at main (/Users/xxx/Lab/tsconfig-paths/node_modules/ts-node/src/bin.ts:54:10)
at Object.<anonymous> (/Users/xxx/Lab/tsconfig-paths/node_modules/ts-node/src/bin.ts:717:3)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32) {
diagnosticCodes: [ 5083 ]
}
error Command failed with exit code 1.
The text was updated successfully, but these errors were encountered:
the
example/base-tsconfig.json
file is missing.The text was updated successfully, but these errors were encountered: