Edge Canary fails on dynamic import

%3CLINGO-SUB%20id%3D%22lingo-sub-1957485%22%20slang%3D%22en-US%22%3EEdge%20Canary%20fails%20on%20dynamic%20import%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1957485%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20current%20of%20Edge%20Canary%20(%3CSPAN%3E89.0.721.0)%20is%20failing%20on%20dynamic%20import.%20When%20I%20step%20through%20in%20DevTools%2C%20my%20first%20dynamic%20import%2C%20%60module%20%3D%20await%20import('..%2Fcomponents%2Fserver-catalog.js')%3B%60%2C%26nbsp%3Bthe%20app%20dies%20with%20the%20message%20%22DevTools%20was%20disconnected%20from%20the%20page%22%20(in%20DevTools)%20and%20%22This%20page%20is%20having%20a%20problem%22%20with%20a%20reload%20button%20(in%20the%20browser).%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EIt%20fails%20as%20the%20same%20point%2C%20in%20the%20same%20why%2C%20when%20rolled-up%20and%20deployed.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1957544%22%20slang%3D%22en-US%22%3ERe%3A%20Edge%20Canary%20fails%20on%20dynamic%20import%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1957544%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3ETry%20updating%20to%20the%20latest%20version%2C%26nbsp%3B%3CSPAN%3E89.0.723.0%20(Official%20build)%20canary%20(64-bit)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Eif%20the%20problem%20persists%20please%20send%20a%20feedback%20through%20Edge%20browser%20(shortcut%3A%20alt%20%2B%20shift%20%2B%20i)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1958411%22%20slang%3D%22en-US%22%3ERe%3A%20Edge%20Canary%20fails%20on%20dynamic%20import%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1958411%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3BYes%2C%20all%20is%20well%20with%20Edge%20Canary%2089.0.723.0.%20Thank%20you.%20I%20realize%20this%20is%20something%20one%20must%20live%20with%20when%20testing%20with%20Canary%2C%20but%20it's%20the%20best%20way%20to%20cut%20off%20problems%20before%20customers%20find%20them.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EWhew!%20Every%20time%20a%20Canary%20release%20fails%2C%20my%20fear%20is%20some%20new%20CORS%20or%20security%20enforcement.%20%3Agrinning_face_with_sweat%3A%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

The current of Edge Canary (89.0.721.0) is failing on dynamic import. When I step through in DevTools, my first dynamic import, `module = await import('../components/server-catalog.js');`, the app dies with the message "DevTools was disconnected from the page" (in DevTools) and "This page is having a problem" with a reload button (in the browser).

 

It fails as the same point, in the same why, when rolled-up and deployed. 

3 Replies

 

Hi,

Try updating to the latest version, 89.0.723.0 (Official build) canary (64-bit)

if the problem persists please send a feedback through Edge browser (shortcut: alt + shift + i)

 

@HotCakeX Yes, all is well with Edge Canary 89.0.723.0. Thank you. I realize this is something one must live with when testing with Canary, but it's the best way to cut off problems before customers find them.

 

Whew! Every time a Canary release fails, my fear is some new CORS or security enforcement. :grinning_face_with_sweat:

You're welcome, canary is on the edge of development, gotta keep it up to date :)