Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hipache 0.2.6 installation via npm broken #108

Closed
notnmeyer opened this issue Apr 7, 2014 · 11 comments
Closed

Hipache 0.2.6 installation via npm broken #108

notnmeyer opened this issue Apr 7, 2014 · 11 comments
Labels

Comments

@notnmeyer
Copy link

I noticed that the 0.2.6 version of Hipache seems to be broken when installing via npm:

mordor ~ > npm -g install hipache
npm http GET https://registry.npmjs.org/hipache
npm http 200 https://registry.npmjs.org/hipache
npm http GET https://registry.npmjs.org/hipache/-/hipache-0.2.6.tgz
npm http 200 https://registry.npmjs.org/hipache/-/hipache-0.2.6.tgz
npm http GET https://registry.npmjs.org/read-installed/0.2.2
npm http GET https://registry.npmjs.org/redis
npm http GET https://github.com/samalba/node-http-proxy.git
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/optimist
npm http 200 https://registry.npmjs.org/optimist
npm http 200 https://registry.npmjs.org/read-installed/0.2.2
npm http GET https://registry.npmjs.org/read-installed/-/read-installed-0.2.2.tgz
npm http 200 https://registry.npmjs.org/read-installed/-/read-installed-0.2.2.tgz
npm http 200 https://github.com/samalba/node-http-proxy.git
npm ERR! not a package /var/folders/yc/8ldx932528j057jcmqbx24300000gn/T/npm-5187-koUUon3n/1396894385095-0.4346119547262788/tmp.tgz
npm ERR! Error: ENOENT, open '/var/folders/yc/8ldx932528j057jcmqbx24300000gn/T/npm-5187-koUUon3n/1396894385095-0.4346119547262788/package/package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Darwin 13.1.0
npm ERR! command "/usr/local/Cellar/node/0.10.26/bin/node" "/usr/local/bin/npm" "-g" "install" "hipache"
npm ERR! cwd /Users/nate
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! path /var/folders/yc/8ldx932528j057jcmqbx24300000gn/T/npm-5187-koUUon3n/1396894385095-0.4346119547262788/package/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm http 200 https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/lru-cache/-/lru-cache-2.2.4.tgz
npm http 200 https://registry.npmjs.org/lru-cache/-/lru-cache-2.2.4.tgz
npm http 200 https://registry.npmjs.org/redis
npm http GET https://registry.npmjs.org/redis/-/redis-0.8.6.tgz
npm http 200 https://registry.npmjs.org/redis/-/redis-0.8.6.tgz
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/nate/npm-debug.log
npm ERR! not ok code 0

The tgz "package" for http-proxy that is being downloaded isn't an archive, it contains HTML:

mordor ~ > file /var/folders/yc/8ldx932528j057jcmqbx24300000gn/T/npm-5187-koUUon3n/1396894385095-0.4346119547262788/tmp.tgz
/var/folders/yc/8ldx932528j057jcmqbx24300000gn/T/npm-5187-koUUon3n/1396894385095-0.4346119547262788/tmp.tgz: HTML document text

The last release in the registry, 0.2.3, works correctly. I believe this broke with d728f27.

@dmp42
Copy link
Member

dmp42 commented Apr 7, 2014

Thanks a lot.

Will look into this ASAP.

dmp42 added a commit that referenced this issue Apr 7, 2014
@dmp42
Copy link
Member

dmp42 commented Apr 7, 2014

Indeed #53 broke it (should have used git+https I think, which is now committed on the branch).

@samalba can we release 0.2.7 ASAP? Also, maybe we should rename that branch to 0.2.

@samalba
Copy link
Contributor

samalba commented Apr 7, 2014

Ok

@notnmeyer
Copy link
Author

Thanks guys!

@samalba
Copy link
Contributor

samalba commented Apr 7, 2014

0.2.7 released. @notnmeyer could you retry and confirm this fixes the issue?

@dmp42
Copy link
Member

dmp42 commented Apr 7, 2014

@samalba it seems you overwrote my commit while renaming the branch: https://github.com/dotcloud/hipache/commits/0.2

Fixing it.

@samalba
Copy link
Contributor

samalba commented Apr 7, 2014

My bad.. let me know when you're ready to republish

@dmp42
Copy link
Member

dmp42 commented Apr 7, 2014

Fixed.
Install tested npm install git://github.com/dotcloud/hipache.git#0.2.
Good to go ;)

@dmp42 dmp42 added the bug label Apr 7, 2014
@samalba
Copy link
Contributor

samalba commented Apr 7, 2014

Released 0.2.8 (the npm unpublish command does not work..).

@notnmeyer Feel free to close the issue as soon you confirm the fix.

@dmp42
Copy link
Member

dmp42 commented Apr 7, 2014

npm install hipache now WFM

@notnmeyer
Copy link
Author

Looks good to me. Thanks!

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

No branches or pull requests

3 participants