
While trying to resolve module `idb` from file `C:\Users\artmi\Desktop\sparta-study\sparta-myhoneytip-sun\node_modules\@firebase\app\dist\esm\index.esm2017.js`, the package `C:\Users\artmi\Desktop\sparta-study\sparta-myhoneytip-sun\node_modules\idb\package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved (`C:\Users\artmi\Desktop\sparta-study\sparta-myhoneytip-sun\node_modules\idb\build\index.cjs`. Indeed, none of these files exist:
* C:\Users\artmi\Desktop\sparta-study\sparta-myhoneytip-sun\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\artmi\Desktop\sparta-study\sparta-myhoneytip-sun\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)
InternalError Metro has encountered an error: While trying to resolve module `idb` from
file `C:\Users\artmi\Desktop\sparta-study\sparta-myhoneytip-sun\node_modules\@firebase\app\dist\esm\index.esm2017.js`, the package `C:\Users\artmi\Desktop\sparta-study\sparta-myhoneytip-sun\node_modules\idb\package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved (`C:\Users\artmi\Desktop\sparta-study\sparta-myhoneytip-sun\node_modules\idb\build\index.cjs`. Indeed, none of these files exist:
* C:\Users\artmi\Desktop\sparta-study\sparta-myhoneytip-sun\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\artmi\Desktop\sparta-study\sparta-myhoneytip-sun\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): C:\Users\artmi\Desktop\sparta-study\sparta-myhoneytip-sun\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,
at http://172.30.1.18:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in showCompileError
at http://172.30.1.18:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in <unknown>
at http://172.30.1.18:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in onmessage
at http://172.30.1.18:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in dispatchEvent
at http://172.30.1.18:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in <unknown>
at node_modules\@firebase\util\dist\index.esm2017.js:null in ObserverProxy#forEachObserver
at http://172.30.1.18:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in __callFunction
at http://172.30.1.18:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in <unknown>
at http://172.30.1.18:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in callFunctionReturnFlushedQueue
확인부탁드려요!!
