We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
moduleResolution
tsconfig.json
If you set the moduleResolution compiler option in tsconfig.json to one of the allowed values, e.g.
{ "compilerOptions": { "moduleResolution": "node", ... }, ... }
you will get an error like,
> dash-generate-components ./src/ts/components tsconvert -p package-info.json --r-prefix '' --jl-prefix '' --ignore \.test\. /home/emher/Code/tsconvert/node_modules/typescript/lib/typescript.js:2572 throw e; ^ Error: Debug Failure. Unexpected moduleResolution: node at Object.resolveModuleName (/home/emher/Code/tsconvert/node_modules/typescript/lib/typescript.js:44046:37) at loader_1 (/home/emher/Code/tsconvert/node_modules/typescript/lib/typescript.js:119377:117) at loadWithModeAwareCache (/home/emher/Code/tsconvert/node_modules/typescript/lib/typescript.js:118997:46) at actualResolveModuleNamesWorker (/home/emher/Code/tsconvert/node_modules/typescript/lib/typescript.js:119378:149) at resolveModuleNamesWorker (/home/emher/Code/tsconvert/node_modules/typescript/lib/typescript.js:119667:26) at resolveModuleNamesReusingOldState (/home/emher/Code/tsconvert/node_modules/typescript/lib/typescript.js:119765:24) at processImportedModules (/home/emher/Code/tsconvert/node_modules/typescript/lib/typescript.js:121296:35) at findSourceFileWorker (/home/emher/Code/tsconvert/node_modules/typescript/lib/typescript.js:121076:17) at findSourceFile (/home/emher/Code/tsconvert/node_modules/typescript/lib/typescript.js:120922:26) at /home/emher/Code/tsconvert/node_modules/typescript/lib/typescript.js:120871:85 Node.js v18.16.1 Error generating metadata in tsconvert (status=1)
when you run npm run build.
npm run build
The text was updated successfully, but these errors were encountered:
Fixed by #2616
Sorry, something went wrong.
No branches or pull requests
If you set the
moduleResolution
compiler option intsconfig.json
to one of the allowed values, e.g.you will get an error like,
when you run
npm run build
.The text was updated successfully, but these errors were encountered: