The tbtc.js package contains a dependency to @summa-tx/relay-sol@2.0.2
package, which downloads one of its sub-dependencies via unathenticated
git:// protocol. That protocol is no longer supported by GitHub. This
means that in certain situations installation of the package or update
of its dependencies using NPM may result in The unauthenticated git protocol on port 9418 is no longer supported error or errors like
ENOENT: no such file or directory, open '/home/runner/work/local-setup/local-setup/e2e/node_modules/.staging/...'.
That what was happening during execution of e2e-local.yml and
`e2e-testnet.yml. workflows.
As a workaround, we're adding to workflows a step which configures
Git to use https:// protocol instead of git:// when downloading
files.
The
tbtc.js
package contains a dependency to@summa-tx/relay-sol@2.0.2
package, which downloads one of its sub-dependencies via unathenticatedgit://
protocol. That protocol is no longer supported by GitHub. This means that in certain situations installation of the package or update of its dependencies using NPM may result inThe unauthenticated git protocol on port 9418 is no longer supported
error or errors likeENOENT: no such file or directory, open '/home/runner/work/local-setup/local-setup/e2e/node_modules/.staging/...'
. That what was happening during execution ofe2e-local.yml
and `e2e-testnet.yml. workflows.As a workaround, we're adding to workflows a step which configures Git to use
https://
protocol instead ofgit://
when downloading files.More info: https://github.blog/2021-09-01-improving-git-protocol-security-github/.