# Can not authenticate to Sonatype Nexus Repository Manager

**URL:** <https://community.criticalmanufacturing.com/t/can-not-authenticate-to-sonatype-nexus-repository-manager/572>\
**Category:** Deployment\
**Tags:** installation, v11.3\
**Created:** [March 5, 2025, 10:49am UTC](https://community.criticalmanufacturing.com/t/can-not-authenticate-to-sonatype-nexus-repository-manager/572 "2025-03-05T10:49:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikael\_svensson](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@mikael\_svensson](https://community.criticalmanufacturing.com/u/mikael_svensson)\
**Post date:** [March 5, 2025, 10:49am UTC](https://community.criticalmanufacturing.com/t/can-not-authenticate-to-sonatype-nexus-repository-manager/572/1 "2025-03-05T10:49:47Z")

</div>

Hi!

I’m trying to setup the hosted environment, but in step 12 of the installation guide ([https://training.criticalmanufacturing.com/mes-environments/virtual-machine/hosted/devbox/installation-guide/#configuring-the-project-folder](https://training.criticalmanufacturing.com/mes-environments/virtual-machine/hosted/devbox/installation-guide/#configuring-the-project-folder)) , but I get this error: "Unable to authenticate, need: BASIC realm=“Sonatype Nexus Repository Manager”.

I also

---

<div class="post-metadata">

**Author:** ![Joao\_Moreira](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@Joao\_Moreira](https://community.criticalmanufacturing.com/u/Joao_Moreira)\
**Post date:** [March 6, 2025, 5:22pm UTC](https://community.criticalmanufacturing.com/t/can-not-authenticate-to-sonatype-nexus-repository-manager/572/2 "2025-03-06T17:22:45Z")

</div>

Hi Mikael,

Check if you have correctly setup your .npmrc file, as defined on:

[https://training.criticalmanufacturing.com/mes-environments/virtual-machine/hosted/devbox/installation-guide/#preparing-the-environment-for-testing-and-customization](https://training.criticalmanufacturing.com/mes-environments/virtual-machine/hosted/devbox/installation-guide/#preparing-the-environment-for-testing-and-customization)

Best regards,

João Moreira

---

<div class="post-metadata">

**Author:** ![mikael\_svensson](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@mikael\_svensson](https://community.criticalmanufacturing.com/u/mikael_svensson)\
**Post date:** [March 7, 2025, 3:07pm UTC](https://community.criticalmanufacturing.com/t/can-not-authenticate-to-sonatype-nexus-repository-manager/572/3 "2025-03-07T15:07:47Z")

</div>

Hi! I used the same token as for my CM VM environment, but the best way was to create a new, fresh token. Now it works! Thanks!Br, Mikael

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex050/user_avatar/community.criticalmanufacturing.com/system/32/23_2.png) [@system](https://community.criticalmanufacturing.com/u/system)\
**Post date:** [August 21, 2026, 9:14am UTC](https://community.criticalmanufacturing.com/t/can-not-authenticate-to-sonatype-nexus-repository-manager/572/4 "2026-08-21T09:14:19Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
