Typescript tsc does nothing


I am trying to build my Typescript project, but when the config runs the build script: node_modules/bin/tsc, it doesn’t create the dist as specified in the tsconfig.json.

Any Ideas why?


What does it do? Does it have a verbose or debug mode so you can see some more informative console output?

Perhaphs because you are calling node_modules/bin/tsc with it’s full path. You only need to call tsc in your package.json, that may be why it’s not finding your config.

Otherwise, you may need to call --project https://www.typescriptlang.org/docs/handbook/compiler-options.html

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.