module://AssetRegistry.js

When I run my snack on web, I get this error message:

Unable to resolve module ‘module://AssetRegistry.js’
Loading module://App.js

The snack runs fine on mobile. I’ve looked through my App.js and don’t have any reference to an AssetRegistry.js. Is that something I need to add?

First see if it works locally using expo start -w

It’s possible it’s a snack bug rather than a problem with your code.

I ran it locally and it seems to work fine. It must be a problem with snacks.

1 Like

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