It looks like you’re trying to use TypeScript but don’t have the required dependencies installed. Please install @types/react by running:

https://stackoverflow.com/questions/73182941/unable-to-use-typescript-with-expo-it-looks-like-youre-trying-to-use-typescr

instead of installing it like this

npm install --save-dev @types/react@~17.0.21

install it like this

npm install --save-dev @types/react@17.0.21

Leave a Reply

Your email address will not be published.