React Typescript It looks like you re trying to use TypeScript but do not have typescript installed

0 votes

I want to create a React application and I want to use a typescript in this application, at first I went to the React website in order to create an application using typescript and I found that I had to put this instruction in the terminal first:

npx create-react-app my-app --template typescript

And when it finished installing, I put it in the terminal:

npm start

But I got this error:

It looks like you're trying to use TypeScript but do not have typescript installed

I opened the terminal and wrote this instruction:

npm install

then I run the app:

npm start 

But the error is still there

How can I solve the problem?

Aug 3, 2022 in TypeSript by Abhinaya
• 1,160 points

edited Mar 4 17 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP