# Not able to upload npm modules to private repo 404 errors

**URL:** https://community.sonatype.com/t/not-able-to-upload-npm-modules-to-private-repo-404-errors/2221
**Category:** Sonatype Nexus Repository
**Created:** [July 25, 2019, 7:36pm UTC](https://community.sonatype.com/t/not-able-to-upload-npm-modules-to-private-repo-404-errors/2221 "2019-07-25T19:36:14Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![bretwebb](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/bretwebb/32/800_2.png) [@bretwebb](https://community.sonatype.com/u/bretwebb)
#### Post date: [July 25, 2019, 7:36pm UTC](https://community.sonatype.com/t/not-able-to-upload-npm-modules-to-private-repo-404-errors/2221/1 "2019-07-25T19:36:14Z")

</div>

I’m using Nexus Repository Manager OSS 2.14.13-01. I created a new Proxy. Then created a group referencing the proxy. I configured my .npmrc file with teh registry location, auth, email, etc. Ran npm install and expected the node modules to end up on my repos I created, but no cigar. I get 200 from fetches in the log, but 404s for getting the gz files. Can someone please point me at an accurate article that explains how to get npm modules hosted in my private repo? I am NOT trying to publish my project to Nexus, just the npm modules that the project references in its package.json file. Many thanks in advance.

---

<div class="post-metadata">

### Author: ![nickcook](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/nickcook/32/399_2.png) [@nickcook](https://community.sonatype.com/u/nickcook)
#### Post date: [July 25, 2019, 8:02pm UTC](https://community.sonatype.com/t/not-able-to-upload-npm-modules-to-private-repo-404-errors/2221/2 "2019-07-25T20:02:46Z")

</div>

Hey Bret,

Here’s a guide that covers npm. Let me know if this helps.

[https://guides.sonatype.com/repo3/quick-start-guides/proxying-maven-and-npm/](https://guides.sonatype.com/repo3/quick-start-guides/proxying-maven-and-npm/)

---

<div class="post-metadata">

### Author: ![bretwebb](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/bretwebb/32/800_2.png) [@bretwebb](https://community.sonatype.com/u/bretwebb)
#### Post date: [July 25, 2019, 9:06pm UTC](https://community.sonatype.com/t/not-able-to-upload-npm-modules-to-private-repo-404-errors/2221/3 "2019-07-25T21:06:17Z")

</div>

It is geared towards 3 which makes adding 3rd party npm modules much easier. I’m using 2.14.13-01

---

<div class="post-metadata">

### Author: ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)
#### Post date: [August 1, 2019, 2:43pm UTC](https://community.sonatype.com/t/not-able-to-upload-npm-modules-to-private-repo-404-errors/2221/4 "2019-08-01T14:43:47Z")

</div>

There is also documentation for nexus 2 - [Node Packaged Modules and npm Registries](https://help.sonatype.com/repomanager2/node-packaged-modules-and-npm-registries)

---

<div class="post-metadata">

### Author: ![nikhil4326](https://avatars.discourse-cdn.com/v4/letter/n/73ab20/32.png) [@nikhil4326](https://community.sonatype.com/u/nikhil4326)
#### Post date: [September 25, 2019, 10:04am UTC](https://community.sonatype.com/t/not-able-to-upload-npm-modules-to-private-repo-404-errors/2221/5 "2019-09-25T10:04:40Z")

</div>

Is this resolved with Nexus Repository Manager OSS 2.14 version?

---

<div class="post-metadata">

### Author: ![rseddon](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/rseddon/32/341_2.png) [@rseddon](https://community.sonatype.com/u/rseddon)
#### Post date: [September 25, 2019, 2:13pm UTC](https://community.sonatype.com/t/not-able-to-upload-npm-modules-to-private-repo-404-errors/2221/6 "2019-09-25T14:13:01Z")

</div>

Has your hosted npm repository been added into the npm group repository?
