Open vercotux opened 4 years ago
The error comes from Git which does not support git+https
. However, NPM and Yarn know how to use it, so we should convert this url to https://
only.
Try the install/update with the --prefer-dist
option, in this case, Git is not used.
It appears the logic for this already exists. But why is it not working?
It seems there is an issue with some NPM packages which specify their dependencies in a format which uses "git+https" as the URL protocol.
This is the error I get during
composer update -vvv
:Here is one example of such an NPM package: meganz/jodid25519
The format used is a valid format. Possible URL protocols in npm package.json dependencies: git, git+ssh, git+http, git+https, git+file