커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
expo 관련 오류
[왕초보] 나만의 수익성 앱, 앱개발 종합반
4주차
북마크
유*수
댓글
7
추천
0
조회수
23
조회수
23
답변 완료

Metro has encountered an error: While trying to resolve module `idb` from file `/Users/yuhyeonsu/Desktop/sparta-study/sparta-myhoneytip-Su/node_modules/@firebase/app/dist/esm/index.esm2017.js`, the package `/Users/yuhyeonsu/Desktop/sparta-study/sparta-myhoneytip-Su/node_modules/idb/package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved (`/Users/yuhyeonsu/Desktop/sparta-study/sparta-myhoneytip-Su/node_modules/idb/build/index.cjs`. Indeed, none of these files exist:


 * /Users/yuhyeonsu/Desktop/sparta-study/sparta-myhoneytip-Su/node_modules/idb/build/index.cjs(.native|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json)

 * /Users/yuhyeonsu/Desktop/sparta-study/sparta-myhoneytip-Su/node_modules/idb/build/index.cjs/index(.native|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json): /Users/yuhyeonsu/Desktop/sparta-study/sparta-myhoneytip-Su/node_modules/metro/src/node-haste/DependencyGraph.js (243:17)


 241 |

 242 |     if (error instanceof InvalidPackageError) {

> 243 |      throw new PackageResolutionError({

   |         ^

 244 |       packageError: error,

 245 |       originModulePath: from,

 246 |       targetModuleName: to,


ABI45_0_0RCTFatal

__37-[ABI45_0_0RCTCxxBridge handleError:]_block_invoke

_dispatch_call_block_and_release

_dispatch_client_callout

_dispatch_main_queue_drain

_dispatch_main_queue_callback_4CF

__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__

__CFRunLoopRun

CFRunLoopRunSpecific

GSEventRunModal

-[UIApplication _run]

UIApplicationMain

main

start_sim

0x0

0x0


expo start 시 이런 오류가 뜨면서 되지 않습니다.

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