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
En mi caso estoy utilizando Bun, pero es igual con node. Al intentar levantar el servidor salta este error:
➤ bun dev:mooc:backend
$ NODE_ENV=dev bun run ts-node-dev --ignore-watch node_modules ./src/apps/mooc/backend/start.ts
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (=)
[INFO] 15:32:44 ts-node-dev ver. 1.1.8 (using ts-node ver. 9.1.1, typescript ver. 4.8.4)
Compilation error in /path/to/typescript-ddd-skeleton/src/apps/mooc/backend/start.ts
Error: Debug Failure. False expression: Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself.
at Object.<anonymous> (/path/to/typescript-ddd-skeleton/src/apps/mooc/backend/start.ts:1:7)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Module._compile (/path/to/typescript-ddd-skeleton/node_modules/source-map-support/source-map-support.js:568:25)
at Module.m._compile (/tmp/ts-node-dev-hook-22129939898005357.js:69:33)
at Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
at require.extensions.<computed> (/tmp/ts-node-dev-hook-22129939898005357.js:71:20)
at Object.nodeDevHook [as .ts] (/path/to/typescript-ddd-skeleton/node_modules/ts-node-dev/lib/hook.js:63:13)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
[ERROR] 15:32:44 Error: Debug Failure. False expression: Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself.
Por lo visto es un problema de ts-node.
Se puede solucionar aumentando las siguientes versiones:
En mi caso estoy utilizando Bun, pero es igual con node. Al intentar levantar el servidor salta este error:
Por lo visto es un problema de ts-node.
Se puede solucionar aumentando las siguientes versiones:
The text was updated successfully, but these errors were encountered: