Bug running docker-compose build
Opened this issue · 0 comments
ts-node-docker | /home/node/app/node_modules/typescript/lib/typescript.js:43495 ts-node-docker | ts.Debug.assert(typeof typeReferenceDirectiveName === "string", "Non-string value passed to
ts.resolveTypeReferenceDirective, likely by a wrapping package working with an outdated
resolveTypeReferenceDirectivessignature. This is probably not a problem in TS itself."); ts-node-docker | ^ ts-node-docker | 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. ts-node-docker | at Object.resolveTypeReferenceDirective (/home/node/app/node_modules/typescript/lib/typescript.js:43495:18) ts-node-docker | at /home/node/app/node_modules/ts-node/src/index.ts:623:55 ts-node-docker | at Array.map (<anonymous>) ts-node-docker | at Object.resolveTypeReferenceDirectives (/home/node/app/node_modules/ts-node/src/index.ts:622:33) ts-node-docker | at actualResolveTypeReferenceDirectiveNamesWorker (/home/node/app/node_modules/typescript/lib/typescript.js:119377:163) ts-node-docker | at resolveTypeReferenceDirectiveNamesWorker (/home/node/app/node_modules/typescript/lib/typescript.js:119677:26) ts-node-docker | at processTypeReferenceDirectives (/home/node/app/node_modules/typescript/lib/typescript.js:121180:31) ts-node-docker | at findSourceFileWorker (/home/node/app/node_modules/typescript/lib/typescript.js:121065:21) ts-node-docker | at findSourceFile (/home/node/app/node_modules/typescript/lib/typescript.js:120917:26) ts-node-docker | at processImportedModules (/home/node/app/node_modules/typescript/lib/typescript.js:121326:25)
I solved this by running npm install ts-node@latest
. Then I rebuilt the container and ran docker-compose up