+ 1
npx create-react-app . --template typescript NOT WORKING
The above command to configure typescript isn't working. It started the installation, then aborted and deleted the files. I've attached the screenshot here for further details : https://www.sololearn.com/post/1743660/?ref=app Also, for the version, I ran the following command: npx create-react-app --version 5.0.1
3 Respostas
+ 1
well, there might be a few reasons for the problem. maybe you have an outdated versions of nodejs and npm, or cached data during package installations, so try clean the npm cache:'' nmp cache clean --force '', or something else ..
If you still encountering issues use Yarn as an alternative package manager
+ 1
in some case unstable internet connection may cause the same problem, so make sure you not experiencing some net interruptions
+ 1
Amine Laaboudi thank you, issue was indeed slow internet connection. I'll keep other reasons you mentioned in mind as well.