Open arnaudsj opened 9 years ago
i'm seeing this issue as well, not just when testing, but just a basic installation blows up with these errors as well.
so, apparently if you update the dep for http-proxy to lock eventemitter3 to 0.1.6, it works...
@nathwill thank you. I had pinpointed it to eventemmitter, but did not go any further. Great catch! Thank you for your help!
@arnaudsj sure thing!
i'm just an operator trying to get hipache working in one of our systems, so i'm not sure about the right way to fix it in a more permanent fashion, but as it stands, both HEAD and the 0.3.x branch are completely broken on installation without manual intervention afterwards :cry:
it'd be great if we could get an 0.3.2 release that somehow locks down the http-proxy deps as well. anybody know if that's possible?
ok, looks like "shrinkwrap" is a thing (cool!), and it seems less intrusive than the work that would be needed to update to the latest http-proxy that actually has some kind of pinning, so i set up a branch with the intention of submitting a PR for the stable release (0.3.1 -> 0.3.2), but there's no branch on this repo for the stable release, so nothing to PR against.... /cc @dmp42 how would you like to handle this?
Create a PR on master
. A new version should be released at some point.
@willdurand okey doke. fwiw, a new 0.3.x release'd be nice as well, since a lot has changed on master since 0.3.1 that requires a bit more involved effort and testing for us before we're willing or able to drop it into production.
sure. I guess the best plan would be to release a 0.3.2 with your pinning PR (and maybe one or two "bug" fixes), and to release 0.4 right after. (poke @dmp42)
@nathwill @willdurand Is there any way to fix an NPM install right now-ish? I've got a prod system that was being rebuilt and is now broken because of this.
Thanks for the work on this guys. Sorry for I sucked so much at releasing lately. Will take a look ASAP.
to answer my own question, after an NPM install of hipache, I went into /usr/lib/node_modules/hipache/node_modules/http-proxy/package.json
, fixed the version of eventemitter3 to 0.1.6, and ran npm install
in that directory. That's probably not the node-ish way of doing it, but it worked.
For anyone looking for a workaround to this issue if they are running Hipache within a Docker container, the following Dockerfile command worked for me:
RUN npm install eventemitter3@0.1.6 hipache@0.3.1 -g --production
@dmp42 any update on this? we're working on determining if this project is still maintained; from what i can gather it sounds like dotcloud may have switched to an nginx-lua-based implementation internally? is there still interest in maintaining hipache, or should we start looking to switch to another solution?
whatever the situation is is fine, we're just trying to determine our best option going forward.
Seem issue here. Made it work with hack from @fpereiro however I have the same concern as @nathwill. Is the project actively supported?
Hi,
I am attempting to run the test suite prior to start work on some modifications that might result in a PR, but I am unable to run the functional tests in Node for some reason.
Any ideas?