Solved

https://unpkg.com/@shopify/app-bridge is returning a 404 error

nortonch
Shopify Partner
6 0 5

Hi everyone,

 

I've been working with Shopify App Bridge, but today https://unpkg.com/@shopify/app-bridge is returning a 404 error. 

 

The repo is also missing from github, and I can't seem to find a copy on another CDN.

 

Anyone know what's going on?

 

Thanks!

Chris 

 

 

Accepted Solution (1)

KarlOffenberger
Shopify Partner
1873 184 899

This is an accepted solution.

Recent release seems to be a pre-release if following semver so use the last stable release https://unpkg.com/@shopify/app-bridge@1.0.7 and wait for next patch bump.

View solution in original post

Replies 5 (5)

KarlOffenberger
Shopify Partner
1873 184 899

This is an accepted solution.

Recent release seems to be a pre-release if following semver so use the last stable release https://unpkg.com/@shopify/app-bridge@1.0.7 and wait for next patch bump.

nortonch
Shopify Partner
6 0 5

Awesome! Thanks, @KarlOffenberger !

amardeep
Shopify Expert
18 0 17

Thank you so much for the quick solution! It worked.

 

But it is so disappointing on Shopify's part. I got to know about the issue only when I started getting complains from my customers about the missing buttons. How could Shopify take off a production level asset?? 

Beautifully designed posts for social media. Inboxed daily!
Shopify App: Automatic Post Designer
KarlOffenberger
Shopify Partner
1873 184 899

@amardeep I understand it's frustrating to find such issues, but in Shopify's defence, they do follow semver and I wouldn't reference pre-release builds which the latest one is: major.minor.patch.EXTRA where EXTRA optional and its format depends on preference but it always defines a pre-release such as alpha, beta etc.

 

That's why it's important to keep your references pinned to known versions and use greenkeepers to update package references as newer ones become available but only if all regression tests pass. Not doing so would present you with potentially same issues you're seeing now regardless whether it's a Shopify package or not.

 

Best wishes!

Alex
Shopify Staff
1561 81 341

Hey all.

 

Just chiming in to say that the behaviour you were experiencing wasn't expected, and we've since resolved on our end. That said, Karl's answer is best here. It's best to always specify a known version!

 

Cheers.

Alex | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog