Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't create react app #11766

Closed
dinhthang1195 opened this issue Dec 15, 2021 · 3 comments
Closed

I can't create react app #11766

dinhthang1195 opened this issue Dec 15, 2021 · 3 comments

Comments

@dinhthang1195
Copy link

npm -v
8.3.0
node -v
v17.2.0

When i type: npx create-react-app mdb-app. After a period of time. I would get this in the terminal:
**npm ERR! code ENOENT
npm ERR! syscall spawn bash
npm ERR! path C:\Users\MSI\Desktop\30days\react\mdb-app\node_modules\core-js
npm ERR! errno -4058
npm ERR! enoent spawn bash ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\MSI\AppData\Roaming\npm-cache_logs\2021-12-15T19_57_27_083Z-debug-0.log**

Aborting installation.

I also tried this, which helped many people on stackoverflow. But there was no use.
npm uninstall -g create-react-app && npm i -g npm@latest && npm cache clean -f
npx create-react-app mdb-app

@raix
Copy link
Contributor

raix commented Dec 15, 2021

did you do rm -rf node_modules?

@raix
Copy link
Contributor

raix commented Dec 15, 2021

Closing issue - we don't support node v17 yet - #11609

@raix raix closed this as completed Dec 15, 2021
@dinhthang1195
Copy link
Author

Thank you! It works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants