sdkfile
TPToss payments 개발자 커뮤니티
•Created by sdkfile on 8/27/2024 in #❓┃연동개발-문의
RN 연동시, RNCTPWebView could not be found 오류 발생
안녕하세요, react native로 iOS / Android / Web 크로스 플랫폼 앱 개발중입니다.
RN 개발 SDK 버전 1로 작업중인데, 아래와 같은 에러가 뜨는데 초기화를 하고 다시 빌드해도 해결이 안됩니다. 어떻게 해결할 수 있나요?
Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNCTPWebView' could not be found. Verify that a module by this name is registered in the native binary.Bridgeless mode: false. TurboModule interop: false. Modules loaded: {"NativeModules":["PlatformConstants","LogBox","SourceCode","Timing","AppState","BlobModule","WebSocketModule","SettingsManager","DevSettings","Networking","RedBox","Appearance","DevLoadingView","DeviceInfo","UIManager","ImageLoader","LinkingManager"],"TurboModules":[],"NotFound":["NativePerformanceCxx","NativePerformanceObserverCxx","BugReporting","HeadlessJsTaskSupport","SoundManager","IntentAndroid","RNCTPWebView"]}, js engine: hermes
그리고 Web으로 빌드 시에는 아래와 같은 에러가 발생합니다
Web Bundling failed 1246ms node_modules/expo/AppEntry.js (360 modules)
Unable to resolve "../../package.json" from "node_modules/@tosspayments/widget-sdk-react-native/lib/module/utils/version.js"
추가정보 필요하시면 더 제공드리겠습니다. 감사합니다.
8 replies
TPToss payments 개발자 커뮤니티
•Created by sdkfile on 7/26/2024 in #❓┃연동개발-문의
결제 버튼 클릭 시 알 수 없는 에러 발생

26 replies