ondras / rot.js

ROguelike Toolkit in JavaScript. Cool dungeon-related stuff, interactive manual, documentation, tests!
https://ondras.github.io/rot.js/hp/
BSD 3-Clause "New" or "Revised" License
2.34k stars 255 forks source link

bower package is corrupted #48

Closed dnbard closed 9 years ago

dnbard commented 9 years ago

I've installed rot using bower:

bower install rot.js --save

And got empty folder (with only one file): empty folder

ondras commented 9 years ago

Interesting. I am unable to reproduce; my output (Ubuntu Linux) looks like this:

ondras@idefix:~/Desktop/0$ bower install rot.js --save
bower rot.js#*              not-cached git://github.com/ondras/rot.js.git#*
bower rot.js#*                 resolve git://github.com/ondras/rot.js.git#*
bower rot.js#*                download https://github.com/ondras/rot.js/archive/v0.5.0.tar.gz
bower rot.js#*                 extract archive.tar.gz
bower rot.js#*                resolved git://github.com/ondras/rot.js.git#0.5.0
bower rot.js#~0.5.0            install rot.js#0.5.0
bower                          no-json No bower.json file to save to, use bower init to create one
ondras@idefix:~/Desktop/0/bower_components/rot.js$ ll
total 152
drwxrwxr-x 2 ondras ondras   4096 Jan  3 21:40 ./
drwxrwxr-x 3 ondras ondras   4096 Jan  3 21:40 ../
-rw-rw-r-- 1 ondras ondras    727 Jan  3 21:40 .bower.json
-rw-rw-r-- 1 ondras ondras    422 Sep 11 11:15 bower.json
-rw-rw-r-- 1 ondras ondras 135229 Sep 11 11:15 rot.js

1) what bower version do you use?

2) try to bower cache clean before?

3) are the results different when not using the --save switch?

dnbard commented 9 years ago

Hello! Thanks for quick response. Looks like I had an issue with bower (and for some strange reason that issue was reproducible only on rot.js).

So in case if someone need it I just installed fresh version of bower (but I'm pretty sure that I had it already), clean cache and installed rot.js

npm install -g bower
bower cache clean
bower install rot.js --save