npx create-react-app gives error
See original GitHub issueI receive this error while trying to create-react-app using npx
D:\>npx create-react-app freighthub-challenge --template typescript
npm ERR! code ENOLOCAL
npm ERR! Could not install from "Dinesh\AppData\Roaming\npm-cache\_npx\18176" as it does not contain a package.json file.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\SOdium Dinesh\AppData\Roaming\npm-cache\_logs\2020-02-29T05_06_54_206Z-debug.log
Install for [ 'create-react-app@latest' ] failed with code 1
Is there any workaround or solution for this? There is a space in username directory
C:\Users\ SOdium Dinesh \AppData
Is this a matter of concern?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
I can't install react using npx create-react-app? - Stack Overflow
14. try npm cache clean --force then run npm install -g create-react-app@latest · it was the right command, thanks a lot. · your...
Read more >npx create-react-app is not working · Issue #10132 - GitHub
I am able to solve the problem by first trying to uninstall the npm globally, update the npm, clear the cache then using...
Read more >npx create-react-app not working? Here's the solution.
The current solution is simple — run create-react-app and target the latest version. Run creact-react-app using the latest version. npx create- ...
Read more >npx create-react-app error - DEV Community
npx create-react-app error · Solution 1. try to uninstall and reinstall it first. · Solution 2. If you run this in an older...
Read more >Create a New React App
npx create -react-app my-app cd my-app npm start ... framework that doesn't require any configuration, but offers more flexibility than Next.js.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Add .env file with “SKIP_PREFLIGHT_CHECK=true”
thanks @Aakashdeveloper