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

Bug: pnpm registry mismatch error #51

Open
marvinhagemeister opened this issue Mar 7, 2024 · 0 comments
Open

Bug: pnpm registry mismatch error #51

marvinhagemeister opened this issue Mar 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@marvinhagemeister
Copy link
Collaborator

marvinhagemeister commented Mar 7, 2024

From https://medium.com/frontendweb/step-by-step-guidelines-on-how-to-publish-a-deno-package-to-the-jsr-registry-d253139d2329

If you're running, jsr add command in your nextjs or existing project with pnpm to install the jsr registry package.

pnpm dlx jsr add @officialrajdeepsingh/slugify

You face this type of error.

➜  next-testing-app git:(main) pnpm dlx jsr add @officialrajdeepsingh/slugify

Packages: +3
+++
Progress: resolved 3, reused 3, downloaded 0, added 3, done
Setting up .npmrc...ok
Installing @officialrajdeepsingh/slugify...
$ pnpm add @officialrajdeepsingh/slugify@npm:@jsr/officialrajdeepsingh__slugify
 ERR_PNPM_REGISTRIES_MISMATCH  This modules directory was created using the following registries configuration: {"default":"https://registry.npmjs.org/"}. The current configuration is {"default":"https://registry.npmjs.org/","@jsr":"https://npm.jsr.io/"}. To recreate the modules directory using the new settings, run "pnpm install".
@marvinhagemeister marvinhagemeister added the bug Something isn't working label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant