-
Flutter web TypeError: Instance of 'minified:h4<minified:H?, minified:H?>': type 'minified:h4<minified:H?, minified:H?>' is not a subtype of type 'String?'2/main.dart.js:5033 Uncaught Bad state: Future already completed, ์นด์นด์ค๋ก๊ทธ์ธ ์คํจ์นดํ ๊ณ ๋ฆฌ ์์ 2023. 11. 4. 21:40
[Problem]
ํน์ ์ ์ ๋ค์๊ฒ์ ์นด์นด์ค๋ก๊ทธ์ธ์ด ์๋๊ณ ์๋์ ๊ฐ์ ์ค๋ฅ๋ค๋ง ๊ณ์ ๋์ค๊ณ ์๋ ์ํฉ
TypeError: Instance of 'minified:h4<minified:H?, minified:H?>': type 'minified:h4<minified:H?, minified:H?>' is not a subtype of type 'String?'2/main.dart.js:5033 Uncaught Bad state: Future already completed
[Cause]
ํฌ๋กฌ ํ์ฅ ํ๋ก๊ทธ๋จ(extensions)์ ๋๋๋ก ์น ํ์ด์ง์ ์ ์์ ์ธ ๋์์ ๋ฐฉํดํ๊ฑฐ๋ ์คํฌ๋ฆฝํธ ์คํ์ ์ํฅ์ ์ค ์ ์๋ค. ํนํ, ๊ด๊ณ ์ฐจ๋จ ํ์ฅ ํ๋ก๊ทธ๋จ์ด๋ ์คํฌ๋ฆฝํธ๋ฅผ ๋ณ๊ฒฝํ๋ ํ์ฅ ํ๋ก๊ทธ๋จ์ JavaScript ์คํ์ ๋ถ์์ ์ธ ํจ๊ณผ๋ฅผ ์ผ์ผํฌ ์ ์๋ค.
Extension์ด์ฌ์ฉ์์ ๋ก์ปฌ ์คํ ๋ฆฌ์ง ๋๋ ์ธ์ ์คํ ๋ฆฌ์ง๋ฅผ ๋ณ๊ฒฝํ๊ฑฐ๋, ๋คํธ์ํฌ ์์ฒญ์ ๊ฐ๋ก์ฑ๋ ๋ฑ์ ํ์๋ฅผ ํ ๊ฒฝ์ฐ, ์ ํ๋ฆฌ์ผ์ด์ ์ ๋ฐ์ดํฐ ํ๋ฆ์ด๋ ๋คํธ์ํฌ ์์ฒญ์ด ์์๋๋ก ์๋ํ์ง ์์ ์ ์๋ค.Chrome extensions can sometimes interfere with the normal operation of a web page or affect script execution. In particular, an advertisement blocking extension program or an extension program that changes a script may have a side effect on JavaScript execution.
If Extension changes the user's local or session storage or intercepts network requests, the application's data flow or network requests may not work as expected.[Solution]
ํด๋น ์ค๋ฅ๊ฐ ๋ฐ์ํ ๊ฒฝ์ฐ ํฌ๋กฌํ์ฅํ๋ก๊ทธ๋จ์ ๋๊ฑฐ๋ ์ํฌ๋ฆฟ๋ชจ๋๋ก ์คํํ ๊ฒฝ์ฐ ๋ฌธ์ ๊ฐ ํด๊ฒฐ๋๋ค, ์ด๋ฅผ ์ฌ์ฉ์์๊ฒ ์๋ฆฌ๋ ํ์ ์ฐฝ์ ๋์ฐ๋๊ฒ ์ข๋คIf this error occurs, turning off the Chrome extension program or running it in secret mode will solve the problem, it is recommended to display a pop-up window to notify the user