After starting the Nuxt 3 project on another computer with:
$ npx nuxi init <project-name>
And having the project on GitHub, I wanted to clone it on my main computer and when trying
$ npm i
I got the error:
npm ERR! Invalid comparator: latest
Reason: nuxi was not installed on this machine yet. After initializing another project, it asked me to install nuxi first. After doing that I returned to the original repository and tried again. Now it worked!