Closed lucasdesouza-dev closed 1 year ago
resolver version laster
I have the same issue.
How did you solve the issue ?
Found the solution for this problem. You have to update your typescript version to ^5.0.4
There is a PR for this https://github.com/infinitered/gluegun/pull/776/files
F:\Programacao\PlataformaGamer\plataforma-gamer\CLI react\CodeRevolution\coderevolution\node_modules\typescript\lib\typescript.js:43500 ts.Debug.assert(typeof typeReferenceDirectiveName === "string", "Non-string value passed to)
at Object.resolveTypeReferenceDirectives (F:\Programacao\PlataformaGamer\plataforma-gamer\CLI react\CodeRevolution\coderevolution\node_modules\ts-node\src\index.ts:622:33)
at actualResolveTypeReferenceDirectiveNamesWorker (F:\Programacao\PlataformaGamer\plataforma-gamer\CLI react\CodeRevolution\coderevolution\node_modules\typescript\lib\typescript.js:119382:163)
at resolveTypeReferenceDirectiveNamesWorker (F:\Programacao\PlataformaGamer\plataforma-gamer\CLI react\CodeRevolution\coderevolution\node_modules\typescript\lib\typescript.js:119682:26)
at processTypeReferenceDirectives (F:\Programacao\PlataformaGamer\plataforma-gamer\CLI react\CodeRevolution\coderevolution\node_modules\typescript\lib\typescript.js:121185:31)
at findSourceFileWorker (F:\Programacao\PlataformaGamer\plataforma-gamer\CLI react\CodeRevolution\coderevolution\node_modules\typescript\lib\typescript.js:121070:21)
at findSourceFile (F:\Programacao\PlataformaGamer\plataforma-gamer\CLI react\CodeRevolution\coderevolution\node_modules\typescript\lib\typescript.js:120922:26)
at processImportedModules (F:\Programacao\PlataformaGamer\plataforma-gamer\CLI react\CodeRevolution\coderevolution\node_modules\typescript\lib\typescript.js:121331:25)
ts.resolveTypeReferenceDirective
, likely by a wrapping package working with an outdatedresolveTypeReferenceDirectives
signature. This is probably not a problem in TS itself."); ^ Error: Debug Failure. False expression: Non-string value passed tots.resolveTypeReferenceDirective
, likely by a wrapping package working with an outdatedresolveTypeReferenceDirectives
signature. This is probably not a problem in TS itself. at Object.resolveTypeReferenceDirective (F:\Programacao\PlataformaGamer\plataforma-gamer\CLI react\CodeRevolution\coderevolution\node_modules\typescript\lib\typescript.js:43500:18) at F:\Programacao\PlataformaGamer\plataforma-gamer\CLI react\CodeRevolution\coderevolution\node_modules\ts-node\src\index.ts:623:55 at Array.map (