URGENT is App Bridge down? Uncaught TypeError: createApp is not a function

I have two apps that have been working fine (including this morning) and a customer just emailed me with this error. I’m importing App Bridge via CDN. Please advise!


          var AppBridge = window['app-bridge'];
          var createApp = AppBridge.default;

      var app = createApp({
          apiKey: apiKey,
          shopOrigin: shopOrigin
        });

Hi @policenauts1 thank you for flagging this! The team did push up a change this afternoon, looking into it now! In the mean time, you might be able to resolve this by locking down the version of App Bridge by appending the version like so:

https://unpkg.com/@shopify/app-bridge@1.25.0

Thank you @hannachen for the quick response, hard-coding the library to that version seems to have solved it.

Thanks for checking and confirming. There was indeed an issue with the latest release, and we’re fixing forward now ??‍ :male_sign:

1 Like

Version 1.26.2 has shipped with a fix for this issue.

4 Likes