[Snack] dependency resolving issues (Network request failed)

Hello. In the last couple of days I have a problem with resolving dependencies in my Snacks (happens only in new Snacks). I am getting this error (no matter which package I try to install):

Failed to resolve dependency 'react-native-svg@12.1.1' (Network request failed)

Browser console shows:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://snackager.expo.io/bundle/react-native-svg@12.1.1?version_snackager=true&platforms=ios,android,web. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)

I tried across browsers, getting the same error.
My old snacks open and work fine.
Any ideas?

Hey @bocko, are you still encountering this issue? If so, can you run expo diagnostics and share what it prints out here? As well as any other information about your env you think may be relevant. I was able to add the dep you listed above in a new Snack without issue. bad stroopwafels - Snack


1 Like

Hey, thanks for your reply.
As of today, everything is working again.
Wish I knew what went wrong, though.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.