
프로그램들 설치 후 코드스니펫을 붙여넣었는데 오류가 발생했습니다.

작성한 코드 및 에러 메세지
While trying to resolve module `@react-navigation/core` from file `C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\@react-navigation\native\src\index.tsx`, the package `C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\@react-navigation\core\package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved
(`C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\@react-navigation\core\src\index.tsx`. Indeed, none of these files exist:
* C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\@react-navigation\core\src\index.tsx(.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\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\@react-navigation\core\src\index.tsx\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)
Error: While trying to resolve module `@react-navigation/core` from file `C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\@react-navigation\native\src\index.tsx`, the package `C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\@react-navigation\core\package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved (`C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\@react-navigation\core\src\index.tsx`. Indeed, none of these files exist:
* C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\@react-navigation\core\src\index.tsx(.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\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\@react-navigation\core\src\index.tsx\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)
at DependencyGraph.resolveDependency (C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\metro\src\node-haste\DependencyGraph.js:277:17)
at Object.resolve (C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\metro\src\lib\transformHelpers.js:170:21)
at resolveDependencies (C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\metro\src\DeltaBundler\graphOperations.js:466:33)
at processModule (C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\metro\src\DeltaBundler\graphOperations.js:232:31)
at addDependency (C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\metro\src\DeltaBundler\graphOperations.js:361:18)
at async Promise.all (index 0)
at processModule (C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\metro\src\DeltaBundler\graphOperations.js:279:3)
at traverseDependenciesForSingleFile (C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\metro\src\DeltaBundler\graphOperations.js:221:3)
at traverseDependencies (C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\metro\src\DeltaBundler\graphOperations.js:147:7)
at DeltaCalculator._getChangedDependencies (C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\metro\src\DeltaBundler\DeltaCalculator.js:263:42)
InternalError Metro has encountered an error: While trying to resolve module `@react-navigation/core`
from file `C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\@react-navigation\native\src\index.tsx`, the package `C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\@react-navigation\core\package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved (`C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\@react-navigation\core\src\index.tsx`. Indeed, none of these files exist:
* C:\Users\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\@react-navigation\core\src\index.tsx(.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\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\@react-navigation\core\src\index.tsx\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\user\Desktop\sparta-study\sparta-myhoneytip-sy\node_modules\metro\src\node-haste\DependencyGraph.js (277:17)
275 |
276 | if (error instanceof InvalidPackageError) {
> 277 | throw new PackageResolutionError({
| ^
278 | packageError: error,
279 | originModulePath: from,
280 | targetModuleName: to,
at http://192.168.0.2:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:29982:25 in showCompileError
at http://192.168.0.2:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:29915:28 in <unknown>
at http://192.168.0.2:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:30119:22 in <unknown>
at http://192.168.0.2:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:28687:30 in dispatchEvent
at http://192.168.0.2:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:28881:30 in <unknown>
at http://192.168.0.2:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:20178:35 in __callFunction
at http://192.168.0.2:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:19940:30 in <unknown>
at http://192.168.0.2:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:19939:20 in callFunctionReturnFlushedQueue
