Error: Invalid FileSystem URI since 19.0.0
See original GitHub issueHi,
First, thanks for all your hard work, I enjoy a lot using expo for my app project and can’t wait to keep going on with it.
But today I tried to update my project from expo 18 to expo 19, as explained on this tutorial
Firstly I encountered an issue with react-native-svg. The article says that expo updated to 5.3.0 (but found 5.2.0 in the dependencies) and I had to manually apply this PR to remove the first issue.
But I still get stucked now with this issue:
Possible Unhandled Promise Rejection (id: 0): Error: Invalid FileSystem URI 'ExponentAsset-8599704930316b431e827d8e63e916bf.ttf', make sure it's in the app's scope.
I deleted the node_modules folder as explained, quit Expo XDE multiple times, restarted a few dozens of times too. I searched a lot for this issue but found nothing currently. It was working perfectly fine before the update and I didn’t change anything apart from what was explained in the blog’s article.
Thanks for your help!
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (3 by maintainers)
Yeah that’s the old JS.
rm -rf node_modules/ && npm i
will get you the new stuff if yourpackage.json
is updated.Simply updating
package.json
will not affect the change in yournode_modules/
directory which is where the JS is bundled from. Often also simply updatingpackage.json
and runningnpm i
ornpm i <packagename>
will also not successfully update the package. Anrm -rf node_modules/
is good to be sure.This:
here: https://blog.expo.io/expo-sdk-v19-0-0-is-now-available-821a62b58d3d points at this being a necessity.
I don’t know why but this time that did the trick! Probably some bad deletion on my previous tries, had to run sudo from the command line to make it properly.
I still have a strange behaviour from the app but I’ll probably fix it soon, most of it is working, thanks a lot 😃