-
npx react-create-app 실행이 안돼요!개발/두서없이 공부한 개발공부 2023. 8. 7. 06:57728x90반응형
에러코드 un create-react-app --help to see all options. PS C:\Users\user\toodo> npx create-react-app ./ npm ERR! code ENOENT npm ERR! syscall lstat npm ERR! path C:\Users\user\AppData\Roaming\npm npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\user\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: C:\Users\user\AppData\Local\npm-cache\_logs\2023-08-05T20_36_07_647Z-debug-0.log PS C:\Users\user\toodo>
npx react-create-app cmd에 치면 이런 에러를 뿜뿜 하는 경우가 있을것이다.
npm install --global --production windows-build-tools
위에 글을 타이핑 해주면 된다.
https://blog.naver.com/PostView.nhn?isHttpsRedirect=true&blogId=captpro&logNo=221866509281
[주의사항] node-gyp, windows-build-tools 네이티브 모듈 빌드시 오류 사항
node.js로 네이티브 기능을 쓸수 있게 해주는 모듈이 node-gyp이다. 네이티브 기능은 C/C++ 개발되는 모...
blog.naver.com
출저..
728x90반응형'개발 > 두서없이 공부한 개발공부' 카테고리의 다른 글
프론트엔드 기술 면접 질문 리스트(라**) (1) 2024.09.07 Next.js Vs React 둘은 무엇일까? (0) 2023.11.22 동기와 비동기란 무엇일까? (0) 2023.09.04 SEO란 무엇일까? (1) 2023.08.06 Redux란 무엇인가? (0) 2023.05.28