Reputation: 1
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