I had this issue as well and solved it by adding a package source in visual studio like this:
Once added, I closed Visual Studio and created a new Aspire project with no error message.