프론트엔드/리엑트
리엑트 CRA(create-react-app) 오류
아이스아메리카노를따뜻하게뎁혀서개빨리마시지말고천천히마시고싶다
2024. 9. 18. 20:12
node.js 깔고 리엑트 cra 실행시키는데 오류뜸;;;
PS G:\내 드라이브\programming practice> npx create-react-app my-app
Creating a new React app in G:\내 드라이브\programming practice\my-app.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm error code ENOTDIR
npm error syscall mkdir
npm error path G:\내 드라이브\programming practice\my-app\node_modules\babel-jest\node_modules
npm error errno -4052
npm error ENOTDIR: not a directory, mkdir 'G:\내 드라이브\programming practice\my-app\noy-app\node_modules\babel-jest\node_modules'
npm error A complete log of this run can be found in: C:\Users\jeong\AppData\Local\npm-cache\_logs\2024-09-18T08_57_00_178Z-debug-0.log
슈ㅠ발 ㅠㅠ
원인은 만드는 디렉토리를 내 구글 드라이브 안으로 해서 그랬음;;;
이후 정상적으로 내 c드라이브에 디렉토리 만들어서 cra 했더니 정상적으로 성공~ ^<^66~