Typescript tsc does nothing

#1

Hi,

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?

Regards,
Mike

#2

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

#3

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