ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • 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

    ๋Œ“๊ธ€

Designed by Tistory.