• 카테고리

    질문 & 답변
  • 세부 분야

    블록체인

  • 해결 여부

    미해결

chakraui zeg.js 오류

23.04.26 21:30 작성 조회수 243

0

- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요!
- 먼저 유사한 질문이 있었는지 검색해보세요.
- 서로 예의를 지키며 존중하는 문화를 만들어가요.
- 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.

- GitHub 주소
스마트 컨트랙트 : https://github.com/h662/h662Animals-contracts
프론트엔드 : https://github.com/h662/h662Animals-frontend

 

./node_modules/@zag-js/element-size/dist/index.js 71:47

Module parse failed: Unexpected token (71:47)

You may need an appropriate loader to handle this file type.

| height: element.offsetHeight

| });

> var win = element.ownerDocument.defaultView ?? window;

| var observer = new win.ResizeObserver(function (entries) {

| if (!Array.isArray(entries) || !entries.length) return;

 

이런 오류가 출력되네요 zeg.js에 대한 정보가 많이 없어서 해결하기가 쉽지 않네요

답변 1

답변을 작성해보세요.

0

샤크라 ui 에서 1.8.8 로 변경한뒤 ui/타입스크립트로 실행한뒤 src 파일 옮겨서 실행햇네요