커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
에러없이 잘 오다가 구글 애드몹 사용할 준비하기 코드를 app.js에 넣고나서 에러가 뜨네요..
[왕초보] 나만의 수익성 앱, 앱개발 종합반
5주차
북마크
홍*경
댓글
11
추천
0
조회수
16
조회수
16
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.


에러없이 잘 오다가 구글 애드몹 사용할 준비하기 코드를 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 emit

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 emit

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 __guard

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



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