Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Published module has wrong tarball address!!! #289

Open
AILINGANGEL opened this issue Nov 29, 2018 · 2 comments
Open

Published module has wrong tarball address!!! #289

AILINGANGEL opened this issue Nov 29, 2018 · 2 comments

Comments

@AILINGANGEL
Copy link

Hi, I used this couchapp to build my own private npm registry on a server , and set a domain name for it by nginx. I published a module successfully, everything goes well by far. However, when I install this module, it always went wrong.Then, I found the tarball address begins with 127.0.0.1, which is obviously wrong if I install locally instead of on the server. I have tried so many ways to set the tarball address but I failed. Is anyone can help me? How to set the tarball url address begins with my domain name rather than 127.0.0.1:5984. I would appreciate your help.

@terinjokes
Copy link
Contributor

This repository is no longer maintained, newer versions of npm may expect features not implemented here.

In general through, if you follow the instructions in the README for configuring vhosts to using the rewrite path, tarball URLs should be rewritten to match the host of the request.

Again, this repository is unmaintained. You should considering using a registry that is maintained, or npm's hosted option.

@AILINGANGEL
Copy link
Author

This repository is no longer maintained, newer versions of npm may expect features not implemented here.

In general through, if you follow the instructions in the README for configuring vhosts to using the rewrite path, tarball URLs should be rewritten to match the host of the request.

Again, this repository is unmaintained. You should considering using a registry that is maintained, or npm's hosted option.

All right, thanks for your reply . I have already turned to verdaccio.

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

No branches or pull requests

2 participants