Having issue in initialising Reactjs showing ENOENT error how to debug this

41 Views Asked by At

enter image description hereWhen I'm initialising react in command prompt npx create-react-app my-app It's showing this ENOENT error.

I guess I didn't install node js correctly I have checked Chocolatey during installation. Do I have to delete node js & install it again....???

2

There are 2 best solutions below

2
osuchukwu On

I haven't solved it completely but I think this Github page can be helpful - https://github.com/facebook/create-react-app

0
simon On

I think you've probably hit this bug in Node v21.7.0; if you can downgrade to v21.6.2 for now that will most likely work.