Shop Mini crashing after adding user-scopes:read with no crash logs

After adding user-scopes:read to my manifest.json and attempting to fetch the user avatar, both the iOS simulator and my device went to a blank screen.

I wasn’t able to see any crash logs in the terminal where npx shop-minis dev was running and was unable to connect via Safari debug inspector either to see what happened.

Reverting the scopes change back resolved it..

Is there a way to find crash logs?

after adding scopes, you need to close your Mini within Shop app, ctrl+c to kill terminal, then run npx shop-minis dev again and hit i from terminal to re-open your development Mini.

this is currently undocumented and not shown as a warning in the CLI. we’ll work on making this more clear. if that doesn’t do the trick, please let us know.

Yeah I should have mentioned in my initial post that I did all that as well.

Hi, you can try checking the console logs. Something is failing that’s preventing the Mini from starting. You can find instructions in our docs: Debugging (iOS)

From what I recall, I was unable to connect to the physical device or simulator when it was crashing. I had been successfully using the safari web inspector but was unable to for this crash. If I run into it again, I’ll confirm.

yes, please. Let us know when it happens again.