안녕하세요, 선생님.
npx로 새 프로젝트 생성시 오류가 발생합니다.
npx create-react-app blog 치면 나오는 에러 메시지 (경로는 해당 폴더 안에서 파워셀 관리자 권한으로 함)
40 error code ENOENT
41 error syscall spawn C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Node.js
42 error path C:\Users\user1\Desktop\react class
43 error errno -4058
44 error enoent spawn C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Node.js ENOENT
45 error enoent This is related to npm not being able to find a file.
45 error enoent
46 verbose exit -4058
47 timing npm Completed in 1525ms
48 verbose code -4058
49 error A complete log of this run can be found in:
49 error C:\Users\user1\AppData\Local\npm-cache\_logs\2022-02-08T04_13_34_607Z-debug-0.log
npm으로 깔린 건 안되다케서 지웠고, yarn으로도 깔아봤는데 에러 메시지 couldn't find the binary C:\Users\user1\AppData\Local\Yarn\bin\create-react-app 와 함께 설치되지 않았습니다.
참고로 노드몬도 비슷한 오류와 함께 못 깔아서 결국 수동으로 돌렸었고... 윈도 10 씁니다.
설치 때매 리액트 시작도 못하게 생겼습니다 도와주세요.... ㅠㅠㅠㅠ