
코드스니펫으로부터
firebaseConfig.js
MainPage.js를 붙여넣기하였는데 아래와같은 Error가 나옵니다.
작성한 코드 및 에러 메세지
Android Bundling failed 3702ms
While trying to resolve module `idb` from file `C:\Users\lkdhd\OneDrive\바
탕 화면\sparta-study\sparta-myhoneytip-don\node_modules\@firebase\app\dist\esm\index.esm2017.js`, the package `C:\Users\lkdhd\OneDrive\바탕 화면\sparta-study\sparta-myhoneytip-don\node_modules\idb\package.json` was successfully found. However, this package itself specifies a `main` module field
that could not be resolved (`C:\Users\lkdhd\OneDrive\바탕 화면\sparta-study\sparta-myhoneytip-don\node_modules\idb\build\index.cjs`. Indeed, none of these files exist:
* C:\Users\lkdhd\OneDrive\바탕 화면\sparta-study\sparta-myhoneytip-don\node_modules\idb\build\index.cjs(.native|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json)
* C:\Users\lkdhd\OneDrive\바탕 화면\sparta-study\sparta-myhoneytip-don\node_modules\idb\build\index.cjs\index(.native|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json)오류 발생 시, 작성한 코드 전체와 에러 메시지를 첨부해 주세요.
Tip 1) </> 아이콘을 눌러 코드박스를 만들어 보세요.
Tip 2) Ctrl+A(맥의 경우 Command+A) 단축키로 코드를 한 번에 선택할 수 있어요!
