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

Solved

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

nortonch
Shopify Partner
8 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 902

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/[email protected] and wait for next patch bump.

View solution in original post

Replies 5 (5)

KarlOffenberger
Shopify Partner
1873 184 902

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/[email protected] and wait for next patch bump.

nortonch
Shopify Partner
8 0 5

Awesome! Thanks, @KarlOffenberger !

amardeep
Shopify Partner
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 902

@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 342

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