I have an application with the following package.json file
"dependencies": {
"package_name": "git+ssh://git@git.scm.domain.com:Domain/package_name.git",
}
I can't change it and I can't use ssh. I tried
git config --global url.https://.insteadOf git://
git config --global url.https://git.scm.domain.com.insteadOf git://git.scm.domain.com
But npm i still throws an error about permission and I see that the url doesn't contain https protocol.
npm ERR! Error while executing:
npm ERR! path to git.exe ls-remote -h -t git@git.scm.domain.com:Domain/repo.git
Is it possible to setup git or npm to use https instead of ssh while installing deps from package.json?