
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
에러없이 잘 오다가 구글 애드몹 사용할 준비하기 코드를 app.js에 넣고나서 에러가 뜨네요.. 4주차 숙제때 애드몹 가입했는데, 혹시 그 과정에는 없었던
APP-ADS.TXT가 없어서 그런 걸까요?
작성한 코드 및 에러 메세지
Unable to resolve module @iabtcf/core from C:\Users\HMK\Desktop\sparta-study\sparta-hmk\node_modules\react-native-google-mobile-ads\src\AdsConsent.ts: @iabtcf/core could not be found within the project or in these directories:
node_modules
..\node_modules
16 | */
17 |
> 18 | import { TCModel, TCString } from '@iabtcf/core';
| ^
19 | import { NativeModules } from 'react-native';
20 | import { AdsConsentDebugGeography } from './AdsConsentDebugGeography';
21 | import { AdsConsentPurposes } from './AdsConsentPurposes';
undefined Unable to resolve module @iabtcf/core from C:\Users\HMK\Desktop\sparta-study\sparta-hmk\node_modules\react-native-google-mobile-ads\src\AdsConsent.ts: @iabtcf/core could not be found within the project or in these directories:
node_modules
..\node_modules
16 | */
17 |
> 18 | import { TCModel, TCString } from '@iabtcf/core';
| ^
19 | import { NativeModules } from 'react-native';
20 | import { AdsConsentDebugGeography } from './AdsConsentDebugGeography';
21 | import { AdsConsentPurposes } from './AdsConsentPurposes';
at http://192.168.0.104:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in showCompileError
at http://192.168.0.104:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in <unknown>
at http://192.168.0.104:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in <unknown>
at http://192.168.0.104:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in dispatchEvent
at http://192.168.0.104:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in <unknown>
at http://192.168.0.104:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in __callFunction
at http://192.168.0.104:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in <unknown>
at http://192.168.0.104:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in callFunctionReturnFlushedQueue
