Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received | クズリーマンのカス備忘録

Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received

chrome-like-logo chrome
スポンサーリンク

事象

作成中のWebページをGoogle Chromeで開き、
デベロッパーツールで、エラーを確認したところ、以下のエラーが出ていた。

Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received

ss

原因

この問題はクロスオリジン リクエストの問題であり、さまざまな Chrome 拡張機能が原因です。

https://stackoverflow.com/questions/72494154/a-listener-indicated-an-asynchronous-response-by-returning-true-but-the-messag

とのこと。

Chrome拡張機能のない、Chromeのゲストユーザーで同じ作成中のWebページを開き、
デベロッパーツールで、エラーを確認したところ、このエラーが出ていなかった。

無視してOKですな。

コメント

タイトルとURLをコピーしました