Categories
TypeScript Answers

How to fix the ‘tsc is not recognized as internal or external command’ error with TypeScript?

Spread the love

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.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *