초기 환경세팅 후 샌드박스 테스트 에러 'DOMException' doesn't exist

이 글의 성격은 무엇인가요?

질문 / 문제 해결

내용을 설명해주세요

초기 개발 세팅을 천천히 따라가고 있었는데 npm run dev 이후 이런 로그가 나오면서 Welcome granite가 나타나지 않습니다
% npm run dev

dev
granite dev

██████╗ ██████╗ █████╗ ███╗ ██╗██╗████████╗███████╗
██╔════╝ ██╔══██╗██╔══██╗████╗ ██║██║╚══██╔══╝██╔════╝
██║ ███╗██████╔╝███████║██╔██╗ ██║██║ ██║ █████╗
██║ ██║██╔══██╗██╔══██║██║╚██╗██║██║ ██║ ██╔══╝
╚██████╔╝██║ ██║██║ ██║██║ ╚████║██║ ██║ ███████╗
╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝ ╚══════╝

              Welcome to Granite

Development server is running at http://0.0.0.0:8081
Key commands available:

r - reload app(s)
d - open Dev Menu
j - open DevTools

BUNDLE ./index.ts

ERROR [runtime not ready]: ReferenceError: Property ‘DOMException’ doesn’t exist
LOG Running “shared” with {“rootTag”:11,“initialProps”:{“initialColorPreference”:“light”,“initialFontSize”:“Large”,“isVisible”:true,“networkStatus”:“WIFI”,“schemeUri”:“intoss://push-clicker”,“loadingStartTs”:1777128016066},“fabric”:true}
ERROR [runtime not ready]: Invariant Violation: “shared” has not been registered. This can happen if:

  • Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
  • A module failed to load due to an error and AppRegistry.registerComponent wasn’t called.

안녕하세요 :slight_smile:
혹시 재현 과정을 알 수 있을까요 ?!
granite.config.ts, package.json도 공유주실 수 있다면 큰 도움이 될 것 같아요.

처음에 RN으로 가이드 처음부터 끝까지 따라갔습니다
저 혼자 원인을 TDS가 RN19지원하지 않는다는 것과 RN가 19부터 되는 것이 안맞는다고 생각해서 WebView방식으로 구현 중입니다.. WebView는 잘 되네요
이전 코드를 다 밀어서 코드를 드릴 수가 없는데 진행중인 앱 배포 이후에 재현할 수 있다면 해보고 남길게요!