Sometimes, we want to fix the ‘tsc is not recognized as internal or external command’ error with TypeScript.
In this article, we’ll look at how to fix the ‘tsc is not recognized as internal or external command’ error with TypeScript.
How to fix the ‘tsc is not recognized as internal or external command’ error with TypeScript?
To fix the ‘tsc is not recognized as internal or external command’ error with TypeScript, we can install the typescript
package globally.
To do this, we run
npm install -g typescript
to install the typescript
package globally.
Conclusion
To fix the ‘tsc is not recognized as internal or external command’ error with TypeScript, we can install the typescript
package globally.