$ node -v
v18.16.1
$ npm -v
9.5.1
$ npx create-react-app [프로젝트명]
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:\Users\SSAFY\AppData\Roaming\npm
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\SSAFY\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\SSAFY\AppData\Local\npm-cache\_logs\2023-07-07T04_38_08_305Z-debug-0.log
$ npx create-react-app my-app
Need to install the following packages:
create-react-app@5.0.1
Ok to proceed? (y)
설치 완료 후 생성된 프로젝트 구조
경로 변경 후 애플리케이션 실행
$ cd [프로젝트명]
$ npm start
$ cd my-app
$ npm start