I'm trying to push to a repository configured as an npm project. I followed the quickstart tutorial without problem. Now I'm trying to actually push an npm project, but I'm running into a problem.
I already ran the following commands:
gcloud config set artifacts/repository <repository name>gcloud config set artifacts/location <region>
Now, I'm trying to find out the scope I need to use, so I ran the following command (suggested by the tutorial, Gemini, and this README):
gcloud artifacts print-settings npm
It fails with the following message:
(gcloud.artifacts.print-settings.npm) NOT_FOUND: Requested entity was not found.
I can see that, in my CLI, the project is correct, and when I did followed the quickstart, the repo was correctly created.
Why is this happening, and how can I solve this problem?