• 카테고리

    질문 & 답변
  • 세부 분야

    프론트엔드

  • 해결 여부

    미해결

섹션 2 create-react-app

23.08.02 21:49 작성 조회수 1.26k

0

npx create-react-app my-app이라고 작성했는데 오류가 나타납니다.

node.js와 npm버전은 모두 14.0과 6.14 이상입니다

PS C:\Users\이민준> npx create-react-app my-app
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:\Users\이민준\AppData\Roaming\npm
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\이민준\AppData\Roaming\npm'
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\이민준\AppData\Local\npm-cache\_logs\2023-08-02T12_46_01_759Z-debug-0.log
PS C:\Users\이민준> 

답변 1

답변을 작성해보세요.

1

안녕하세요, 소플입니다.

아래 명령어들을 순서대로 한 번 실행해보시기 바랍니다~

npm uninstall -g create-react-app
npx create-react-app my-app

 

감사합니다.

이민준님의 프로필

이민준

질문자

2023.08.02

해결했습니다. 감사합니다