Programming/React

react start 시, iframe 추가되는 이슈

c29130811 2023. 1. 14. 19:17

npm run start 해서 진행할 경우, iframe이 추가되며, 

아래의 옵션 때문에 화면에 버튼이고 뭐고 아무것도 안눌림. 

position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; border: none; z-index: 2147483647;

https://github.com/facebook/create-react-app/issues/11773

 

Is this the bug of react-error-overlay? · Issue #11773 · facebook/create-react-app

Describe the bug When I change the code and emit the hot-reload, there is iframe cover the whole page and report Uncaught ReferenceError: process is not defined. Did you try recovering your depende...

github.com

 

이미 등록된 이슈.

 

https://stackoverflow.com/questions/69051008/react-injecting-iframe-with-max-z-index-on-reload-after-changes-development

 

React injecting iframe with max z-index on reload after changes (development)

I have a Create React App with the following .env file: BROWSER=none SKIP_PREFLIGHT_CHECK=true INLINE_RUNTIME_CHUNK=false When I launch the app with yarn start, after any code change, the server m...

stackoverflow.com

 

해결 방안으로는 package.json 에 아래 내용을 추가한다.

"resolutions": {
  "react-error-overlay": "6.0.9"
}
728x90

'Programming > React' 카테고리의 다른 글

React Hook - useEffect  (0) 2024.09.22
React Hook - useState  (0) 2024.09.21
react tailwind select  (0) 2023.08.24
React Last Child Highlight  (0) 2022.09.25
React Search  (0) 2022.09.25