커뮤니티
포인트
로딩중
쿠폰
내 강의실
국비 신청 내역
수강권
증명서
숙제 피드백
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
expo 실행 중 하기와 같은 오류가 뜹니다!
[왕초보] 나만의 수익성 앱, 앱개발 종합반
2주차
북마크
배*은
댓글
3
추천
0
조회수
141
조회수
141
답변 완료


안녕하세요! expo start 후, 최신 버전의 업데이트가 필요하다는 내용으로 이해하고 터미널에 npm install -g expo-cli를 입력해보았는데 잠시 다운로드가 되더니 오류메시지가 뜨고 실행이 되지 않습니다. 도움을 부탁드립니다!


감사합니다.



스파르타 즉문즉답




baegwangmin@Gwangminui-MacBookAir study % expo start
┌───────────────────────────────────────────────────────────────────────┐│                                                                       ││   There is a new version of expo-cli available (6.0.6).               ││   You are currently using expo-cli 6.0.5                              ││   Install expo-cli globally using the package manager of your         ││   choice;                                                             ││   for example: `npm install -g expo-cli` to get the latest version    ││                                                                       │└───────────────────────────────────────────────────────────────────────┘
The expected package.json path: /Users/baegwangmin/Desktop/study/package.json does not exist
baegwangmin@Gwangminui-MacBookAir study % npm install -g expo-cli
npm ERR! code EACCES
npm ERR! syscall rename
npm ERR! path /usr/local/lib/node_modules/expo-cli
npm ERR! dest /usr/local/lib/node_modules/.expo-cli-dKBr48UN
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/expo-cli' -> '/usr/local/lib/node_modules/.expo-cli-dKBr48UN'
npm ERR!  [Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/expo-cli' -> '/usr/local/lib/node_modules/.expo-cli-dKBr48UN'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'rename',
npm ERR!   path: '/usr/local/lib/node_modules/expo-cli',
npm ERR!   dest: '/usr/local/lib/node_modules/.expo-cli-dKBr48UN'
npm ERR! }
npm ERR! 
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR! 
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.


npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/baegwangmin/.npm/_logs/2022-10-01T14_28_43_395Z-debug-0.log



취소
 공유
취소
댓글 0
댓글 알림
나의얼굴