Horizon: Global install of horizon has giant test database files

Created on 18 May 2016  路  6Comments  路  Source: rethinkdb/horizon

Just installed horizon. These giant files are now on my computer:

$ du -h /usr/local/lib/node_modules/horizon/node_modules/\@horizon/server/
 74M    /usr/local/lib/node_modules/horizon/node_modules/@horizon/server//rethinkdb_data
 48M    /usr/local/lib/node_modules/horizon/node_modules/@horizon/server//rethinkdb_data_test

Not sure if these files are added during post-install or are part of the module, but they shouldn't be there.

$ grep version /usr/local/lib/node_modules/horizon/package.json 
  "version": "1.0.1"
bug build system

Most helpful comment

@diego-vieira only recently after I noticed another package I was using pulled in 250 megs of dependancies via npm. "I wonder how big horizon is? Whoa how is this 150 megs? ... Oh, look at that"

All 6 comments

Thanks for bringing this to our attention @josephg. Those files indeed shouldn't be there. We must have accidentally packaged them into the NPM.

Pinging @dalanmiller .

@jsehpg out of curiosity, do you always inspect what you global install?

I am really glad he did, dang!

@diego-vieira only recently after I noticed another package I was using pulled in 250 megs of dependancies via npm. "I wonder how big horizon is? Whoa how is this 150 megs? ... Oh, look at that"

I'm late to this party but I take full blame for this @josephg as I was the perpetrator here, I apologize profusely to your hard drive 馃槶 .

Closing this as we have proper .gitignore rules now.

^_^ bugs will come and go. But seeing everyone rally to get all these issues fixed makes me really happy. Thanks for the great work!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hnordt picture hnordt  路  7Comments

danielmewes picture danielmewes  路  7Comments

dalanmiller picture dalanmiller  路  7Comments

marshall007 picture marshall007  路  8Comments

ChrisCates picture ChrisCates  路  3Comments