ReactJS 위즈모 그리드 업그레이드 이슈
페이지 정보
작성자 한기준![](https://dev.mescius.co.kr/theme/hoho/img/lv2.png)
본문
관련링크
안녕하세요
LG 에너지 솔루션 EMS 프로젝트
진행 중인 LG CNS 한기준 책임입니다.
크롬브라이저 이슈에 따른 버전 업데이트를 진행중입니다.
업데이트 버전은 다음과 같습니다.
"@grapecity/wijmo": "5.20232.939",
"@grapecity/wijmo.react.all": "5.20232.939",
"@grapecity/wijmo.react.grid": "5.20232.939",
"@grapecity/wijmo.react.input": "5.20232.939",
최초 install(yarn install / yarn start:dev 후
실행에는 문제가 없는데, 재실행(yarn start:dev) 시
다음과 같은 에러가 발생하고 있습니다.
하지만 어플리케이션 동작엔 문제가 없습니다.
NodeJS 16.14.1
React 17.0.2
현재 저희 프로젝트에서 사용하는 노드와 리액트 버전은 위와 같고,
해당 에러를 처리하기 위해서
- - install 'crypto-browserify'
- 위즈모
업그레이드 && [중요!] Google Chrome 정책 변경으로 인한, Wijmo 업그레이드 및 수정 안내 (24.3.27 업데이트) > FAQ | 메시어스 개발자 포럼 (mescius.co.kr)의 React polyfill 코드 참조 하여 추가도 해
보았습니다.
그렇지만 증상이 동일하여, 문의 메일 드립니다.
해결 방법이 있다면 공유 부탁드립니다.
감사합니다.
WARNING in ./node_modules/@grapecity/activereports/lib/node_modules/@grapecity/ar-js-pdf.js
4465:10-27
Module not found: Error: Can't resolve
'crypto' in 'C:\EMS\ems_react_singlex\node_modules\@grapecity\activereports\lib\node_modules\@grapecity'
BREAKING CHANGE: webpack < 5 used to
include polyfills for node.js core modules by default.
This is no longer the case. Verify if you
need this module and configure a polyfill for it.
If you want to include a polyfill, you need
to:
- add a fallback 'resolve.fallback: { "crypto":
require.resolve("crypto-browserify") }'
- install 'crypto-browserify'
If you don't want to include a polyfill,
you can use an empty module like this:
resolve.fallback: { "crypto": false }
@ ./node_modules/@grapecity/activereports/pdfexport/index.js
1:0-71
@ ./src/features/ems/mat/popup/Test.tsx
14:0-44
@ ./src/ sync ^\.\/features.*$
./features/ems/mat/popup/Test.tsx ./features/ems/mat/popup/Test
@
./src/components/layout/content/contentTab.tsx 95:55-97
@
./src/components/common/elements/Search/search-table.tsx 15:0-76 45:31-49
@ ./src/components/common/index.ts 21:0-107
21:0-107 21:0-107 21:0-107
@ ./src/index.tsx 16:0-54 87:37-52
WARNING in ./node_modules/@grapecity/wijmo.react.base/es5-esm.js
188:12-39
Module not found: Error: Can't resolve
'react-dom/client' in
'C:\EMS\ems_react_singlex\node_modules\@grapecity\wijmo.react.base'
@ ./node_modules/@grapecity/wijmo.react.input/es5-esm.js
50:0-60 72:2-15 86:2-15 106:2-15 120:2-15 132:2-15 146:2-15 158:2-15 170:2-15
190:2-15 204:2-15 216:2-15 230:2-15 244:2-15 258:2-15 272:2-15 402:75-88
403:12-40 472:2-15 518:2-15 560:2-15 598:8-41 608:8-40 632:6-39 633:6-38
643:6-39 663:13-45 696:2-15 710:2-15
@
./src/components/common/elements/Form/ComboBox.tsx 11:0-86 230:44-55 319:43-54
434:44-57 524:43-56
@ ./src/components/common/index.ts 9:0-63
9:0-63
@ ./src/index.tsx 16:0-54 87:37-52
댓글목록
등록된 댓글이 없습니다.