can't install because of chfritz/node-xmlrpc
ValeryVS opened this issue · comments
chfritz/node-xmlrpc
dependency can not be installed without ssh access using node>=8
For me npm install
hanged.
Can you publish node-xmlrpc
or set dependency explicitly with https protocol?
Do you explicitly not have ssh access for some reason? Does this resolve your issue https://docs.npmjs.com/common-errors#npm-only-uses-git-and-sshgit-urls-for-github-repos-breaking-proxies?
Yes, I haven't.
I definitely solve this with git config url."https://".insteadOf git://
, but this workaround is quite hacky.
I wont use https every time, so url."https://".insteadOf
should be set before every npm install
, and deleted after every npm install
. I know, this can be done with preinstall
and postinstall
scripts with npm>=5. And node@6, where preinstall
is broken in npm@3, use https by default.
If new xmlrpc package could be published, it would be much easier.