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

 ERR_PNPM_REGISTRIES_MISMATCH  #7871

Closed
piotrkulpinski opened this issue Sep 5, 2023 · 1 comment
Closed

 ERR_PNPM_REGISTRIES_MISMATCH  #7871

piotrkulpinski opened this issue Sep 5, 2023 · 1 comment

Comments

@piotrkulpinski
Copy link

Description

Hi,
I'm trying to set up Bit components in my project (again), but I'm running into this issue, where I can't install any external packages after I run bit install due to the pnpm error:

This modules directory was created using the following registries configuration: {"@bit":"https://node.bit.cloud/","default":"https://node.bit.cloud/"}. The current configuration is {"default":"https://registry.npmjs.org/","@bit":"https://node.bit.cloud/"}. To recreate the modules directory using the new settings, run "pnpm install".

Is there any way to fix this permanently so that I don't run into it every time I do bit install or pnpm install?

Thanks

Specifications

  • Bit version: 0.2.40
  • Node version: 16.20.0
  • Pnpm version: 8.7.1
  • Platform: MacOS
@zkochan
Copy link
Member

zkochan commented Sep 5, 2023

This should only happen if you changed your registry settings. bit install should fix it. It should not happen again after another bit install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants