经过查询,此错误是Chrome扩展插件引起的。由于Chrome修改了API接口,原来的请求被拦截。(Chrome 73 onwards disallows cross-origin requests in content scripts. (Code in content scripts will now be subjected to the same CORS rules as the page they are running in))

已知会引起这个问题的插件

  • 1Password
  • Pinterest
https://stackoverflow.com/questions/53919591/chrome-angular-unchecked-runtime-lasterror-the-message-port-closed-before-a-res

相关文章: