Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieve NuxtAuth dependencie fetch failed on nuxi command #932

Open
Wasabi-sudo opened this issue Oct 21, 2024 · 0 comments
Open

Retrieve NuxtAuth dependencie fetch failed on nuxi command #932

Wasabi-sudo opened this issue Oct 21, 2024 · 0 comments
Labels
bug A bug that needs to be resolved needs-investigation An issue where futhur investigation is required

Comments

@Wasabi-sudo
Copy link

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

@Wasabi-sudo Wasabi-sudo added bug A bug that needs to be resolved pending An issue waiting for triage labels Oct 21, 2024
@phoenix-ru phoenix-ru added needs-investigation An issue where futhur investigation is required and removed pending An issue waiting for triage labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug that needs to be resolved needs-investigation An issue where futhur investigation is required
Projects
None yet
Development

No branches or pull requests

2 participants