No active provider found on Edge

I am running the MetaMask wallet as an extension on Edge, and am trying to use the SDK to connect to it from a SolidJS Typescript app.
When I try to initialize the MetaMask SDK (MMSDK.getProvider), I get an error in the console “No active provider found”.
I mimicked in my SolidJS code the code provided in the sdk documentation titled “Use MetaMask SDK with pure JavaScript” (can’t put a link as I am a new user) so not sure what I am doing wrong or if I missed a step somewhere.

Hi what MetaMask version are you using is it the latest?

I figured out how to do this with JSonRpc which works fine. But for info I am running extension version 11.12.2

1 Like