Skip to content

"Failed to fetch dynamically imported module" error when sending error reports #6033

@sosnovsky

Description

@sosnovsky

Hi @ioanatflowcrypt, seems like dynamic module import doesn't work well in chrome extension, as I got such error when extension tried to send error report:

Denying load of chrome-extension://pjohdcpiapjhagmakkjpgjmodmgfmkkd/js/api/account-servers/external-service.js. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.
chrome-extension://invalid/:1 
Failed to load resource: net::ERR_FAILED webmail_bundle.js:329
Uncaught (in promise) TypeError: Failed to fetch dynamically imported module: chrome-extension://pjohdcpiapjhagmakkjpgjmodmgfmkkd/js/api/account-servers/external-service.js
    at <async> doSendErrorToSharedTenantFes (/extension/js/common/platform/catch.ts:273:4)

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions