But it’s possible that there is some other issue preventing your snap from running. Did you start from the snap template and modify the code? You should be able to make small modifications and see if it still works. You could also try following this tutorial:
Sorry to hear it is still not working. If you publish your snap in a GitHub repository (free for personal projects) then I can have a better look at the code and figure out what might be the issue. I have a feeling it is just a configuration issue.
And for the starknet repo (this is my previous work), that is developed almost 4-5months ago.
I think some of the changes (maybe some code, or maybe MetaMask-cli version) affected.
I used MetaMask template repo as base and moved starknet logic to MetaMask template, and it works fine.