Prisha Vadhavkar
Prisha Vadhavkar

Reputation: 1

Why is npx create-react-app not working even after the latest version of node and npm is installed?

I'm encountering this error everytime i try to create react app.

npx create-react-app . npm error code ENOENT npm error syscall spawn C:\Program Files\Java\jdk1.8.0_202\bin
npm error path C:\Users\Desktop\projects\tictactoe
npm error errno -4058 npm error enoent spawn C:\Program Files\Java\jdk1.8.0_202\bin ENOENT npm error enoent This is related to npm not being able to find a file. npm error enoent

I tried reinstalling node and npm, editing the system PATH variable but it still wont work. Also, when running npm config ls -l, the shell variable points to jdk which im unable to get rid of.

Upvotes: 0

Views: 46

Answers (0)

Related Questions