keeweb / kdbxweb

Web Kdbx library
https://app.keeweb.info
MIT License
413 stars 57 forks source link

Installing this package on npm throws an error #20

Closed sallar closed 6 years ago

sallar commented 6 years ago

Im trying to install this package, but all I get is this error:

› npm i kdbxweb@latest
npm ERR! Error while executing:
npm ERR! /usr/local/bin/git ls-remote -h -t git://github.com/keeweb/jssha.git
npm ERR!
npm ERR! fatal: remote error:
npm ERR!   Repository not found.
npm ERR!
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/sallar/.npm/_logs/2018-03-03T19_24_44_180Z-debug.log

Thanks.

antelle commented 6 years ago

Hi! It looks like you installed an outdated version. jssha was removed recently and is not required anymore. Fresh npm install for kdbxweb works for me, which kdbxweb version did you check out?

sallar commented 6 years ago

@antelle Hi. Thanks. I had to manually remove the old kdbxweb from package-lock.json and install it again.

antelle commented 6 years ago

Yes, dependencies can be there, so you will have to remove them... jssha was removed in this commit from today: 70417909043214bf7d99ca739c63ba83f36a50be

sallar commented 6 years ago

I see. This is good. But unfortunately due to the old versions pointing to the git repo instead of a npm module, now anyone who uses an older version will see failures. I wish you'd keep the deleted repo around for a while so people have a chance to upgrade.

antelle commented 6 years ago

Yeah I forgot about this indeed.

antelle commented 6 years ago

The repos are back :)