canvas-lms
canvas-lms copied to clipboard
Unable to connect to Github error when running yarn install --pure-lockfile
Summary: I am running on MacOS Mojave. Following the quick setup step in Canvas, at the step when i need to run yarn install --pure-lockfile, i get the below error. Tried to clear cache in lib but error persist
Steps to reproduce:
- Follow quick set up step
- Run yarn install --pure-lockfile
Expected behavior: installation to proceed as normal
Actual behavior: Receive error message below
Additional notes:
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads git://github.com/amireh/grunt-template-jasmine-requirejs.git
Directory: /Users/gw84/Desktop/canvas-lms
Output:
fatal: unable to connect to github.com:
github.com[0: 13.229.188.59]: errno=Operation timed out
github.com[1: 13.250.177.223]: errno=Operation timed out
github.com[2: 52.74.223.119]: errno=Operation timed out
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Hi @ianq. This wouldn't appear to be an issue with Canvas; the error is indicating that your computer can't connect to github.com. Are you able to run git ls-remote --tags --heads git://github.com/amireh/grunt-template-jasmine-requirejs.git
from the command line on the system where you're installing canvas?
I run into the same issue today when upgrading Canvas, and had to force git to use https:// rather than git://
git config --global url."https://".insteadOf git://
Hopefully this will solve your issue!
I run into the same issue today when upgrading Canvas, and had to force git to use https:// rather than git://
git config --global url."https://".insteadOf git://
Hopefully this will solve your issue!
Actually this has solved the problem, but someone could tell me what is the "meaning" of this problem? thx
@mperu92 I believe it is because the git protocol has been deprecated.