Skip to content

I can't create react app #11766

Closed
Closed

Description

@dinhthang1195

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

Activity

  1. raix commented on Dec 15, 2021

    @raix
    Contributor

    did you do rm -rf node_modules?

  2. raix commented on Dec 15, 2021

    @raix
    Contributor

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

  3. dinhthang1195 commented on Dec 16, 2021

    @dinhthang1195
    Author

    Thank you! It works!

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions