Re: NPM repo : 404 error for .tgz files

194 views
Skip to first unread message

Rich Seddon

unread,
Nov 13, 2015, 9:14:44 AM11/13/15
to electrotype, Nexus Users
Check the nexus.log file, there should be more information there about this failure.

On Fri, Nov 13, 2015 at 8:13 AM, electrotype <elect...@gmail.com> wrote:
I've been able to configure an "npm" repo so it almost work. Let's say for the npm dependency "cookie".

In a browser :
http://xxxxxx:8081/nexus/content/repositories/npm-official/cookie

I receive a valid json response! :


{"maintainers": [{ (...)

 
But for :
http://xxxxxx:8081/nexus/content/repositories/npm-official/cookie/-/cookie-0.1.3.tgz

I get :

404 - Path /cookie/-/cookie-0.1.3.tgz not found in local nor in remote storage of DefaultNpmProxyRepository(id=npm-official)

Path /cookie/-/cookie-0.1.3.tgz not found in local nor in remote storage of DefaultNpmProxyRepository(id=npm-official)


Do you see any reason for that?

When trying to do "npm install cookie --save" on the command line it doesn't work, because of that.

We dis have some firewall issues in the past for this server so that may be the cause. But since one url works and not the othe, I was thinking that it could be a configuration problem or an issue with Nexus.

Any idea?



--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/88a4befc-43b8-4b49-a564-ada1c015361d%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.

electrotype

unread,
Nov 13, 2015, 9:47:36 AM11/13/15
to Nexus Users, elect...@gmail.com
I just restarted from scratch, a new repo, and there the same error occures. And no, there is nothing in the logs related to that...


Rich Seddon

unread,
Nov 13, 2015, 9:53:56 AM11/13/15
to electrotype, Nexus Users
What is the nexus version?

On Fri, Nov 13, 2015 at 8:47 AM, electrotype <elect...@gmail.com> wrote:
I just restarted from scratch, a new repo, and there the same error occures. And no, there is nothing in the logs related to that...


--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.

electrotype

unread,
Nov 13, 2015, 10:08:20 AM11/13/15
to Nexus Users, elect...@gmail.com
2.11.1-01


Peter Lynch

unread,
Nov 13, 2015, 10:12:38 AM11/13/15
to electrotype, Nexus Users
Hi,

On Fri, Nov 13, 2015 at 11:08 AM, electrotype <elect...@gmail.com> wrote:
2.11.1-01



Thanks. Please upgrade to Nexus 2.11.4 to resolve this issue. Many related npm bugs were resolved in Nexus 2.11.3.


-Peter


 

--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.

electrotype

unread,
Nov 13, 2015, 10:16:37 AM11/13/15
to Nexus Users, elect...@gmail.com
I'll try that. Thanks to both of you!
Reply all
Reply to author
Forward
0 new messages