개발/두서없이 공부한 개발공부
npx react-create-app 실행이 안돼요!
후엥_
2023. 8. 7. 06:57
728x90
반응형
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
반응형