canvas-lms
canvas-lms copied to clipboard
Error "connection timed out" to github, when running yarn install command
Summary:
When launching "yarn install" command, the error Command failed appears
error Command failed. Exit code: 128 Command: git Arguments: ls-remote --tags --heads git://github.com/amireh/grunt-template-jasmine-requirejs.git Directory: /var/canvas Output: fatal: unable to connect to github.com: github.com[0: 140.82.118.4]: errno=Connection timed out info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Steps to reproduce:
- Following the production install page until the "yarn install" command
Expected behavior:
Actual behavior:
Additional notes:
git config --global url."https://".insteadOf git://
this fixed it
I am getting this when I try to deploy my application to Vercel. It looks like the same error. Any ideas?
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads git://github.com/nodejs/undici.git
Directory: /vercel/path0/apps/landing
Output:
fatal: unable to connect to github.com:
github.com[0: 140.82.114.4]: errno=Connection timed out
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Error: Command "yarn install" exited with 128