In my case what solved all my problems, was installing snapcraft via snap, because for some stupid reason, the ubuntu repositories had an ages old version of snapcraft that didn’t align with the documentation.
In my case what solved all my problems, was installing snapcraft via snap, because for some stupid reason, the ubuntu repositories had an ages old version of snapcraft that didn’t align with the documentation.