Retrieve NuxtAuth dependencie fetch failed on nuxi command #932
Labels
bug
A bug that needs to be resolved
needs-investigation
An issue where futhur investigation is required
Environment
npx nuxi@latest module add sidebase-auth
Reproduction
On documentation https://auth.sidebase.io/guide/getting-started/installation and the Readme.
npx nuxi@latest module add sidebase-auth
...
[GET] "https://registry.npmjs.org/sidebase-auth/latest"
Describe the bug
When I tried to retrieve the sidebase nuxt-auth dependencies with the command "npx nuxi@latest module add sidebase-auth", I got a error fetch failed.
ERROR [GET] "https://registry.npmjs.org/sidebase-auth/latest": fetch failed
Additional context
However this bug concern only npx command. On manual installation with npm command that works great.
Nuxi use a wrong url registry.
Nuxi :
npx nuxi@latest module add sidebase-auth -> https://registry.npmjs.org/sidebase-auth/latest
Manual :
npm i -D @sidebase/nuxt-auth -> https://registry.npmjs.org/@sidebase/nuxt-auth
Logs
No response
The text was updated successfully, but these errors were encountered: