Hello, from a few days I’m facing an issue with Expo Snack and images. The app randomly crashes with the following error:
Device: /module:/src/assets/images/photosPortraitBrandon@2x.png: Unexpected token (1:93)
> 1 | https://snack-code-uploads.s3.us-west-1.amazonaws.com/~asset/5a5d13ad50d37eb46b8907acd5a2029f
| ^
Evaluating module://src/assets/images/photosPortraitBrandon@2x.png.js
Evaluating module://src/assets/data/cards.js.js
Evaluating module://src/screens/HomeScreen/HomeScreen.js.js
Evaluating module://src/screens/index.js.js
Evaluating module://src/navigation/AppNavigator.js.js
Evaluating module://App.js.js
Loading module://App.js
Although the image is available, there is a problem with displaying it. The strange thing is that the crashes happen randomly. It means that the app can work either 10 seconds or 1 minute without a crash, but in the end, a crash occurs.
Have anyone faced a similar issue?
Any workarounds for working with images using Snack?
Link to the Snack: github.com/netguru/sticky-parallax-header:examples/expo@BN-2452_Add_expo_example - Snack