Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work on windows 7 #3534

Closed
hackhat opened this issue Jan 15, 2018 · 2 comments
Closed

Doesn't work on windows 7 #3534

hackhat opened this issue Jan 15, 2018 · 2 comments

Comments

@hackhat
Copy link

hackhat commented Jan 15, 2018

Description

Getting this error:

>gatsby new gatsby-site
info Creating new site from git: git://github.com/gatsbyjs/gatsby-starter-defaul
t.git
Cloning into 'gatsby-site'...
fatal: unable to connect to github.com:
github.com[0: 192.30.253.113]: errno=No error
github.com[1: 192.30.253.112]: errno=No error

error Command failed: git clone git://github.com/gatsbyjs/gatsby-starter-default
.git gatsby-site --single-branch


  Error: Command failed: git clone git://github.com/gatsbyjs/gatsby-starter-defa
  ult.git gatsby-site --single-branch

Environment

Gatsby version: 1.1.28
Node.js version: 8.9.1
Operating System: Win 7 64 bit

Actual result

Getting this error:

>gatsby new gatsby-site
info Creating new site from git: git://github.com/gatsbyjs/gatsby-starter-defaul
t.git
Cloning into 'gatsby-site'...
fatal: unable to connect to github.com:
github.com[0: 192.30.253.113]: errno=No error
github.com[1: 192.30.253.112]: errno=No error

error Command failed: git clone git://github.com/gatsbyjs/gatsby-starter-default
.git gatsby-site --single-branch


  Error: Command failed: git clone git://github.com/gatsbyjs/gatsby-starter-defa
  ult.git gatsby-site --single-branch

Expected behavior

No error

Steps to reproduce

Follow steps from: https://www.gatsbyjs.org/docs/
1. npm install --global gatsby-cli

2. gatsby new gatsby-site

Fix

  1. git clone https://github.com/gatsbyjs/gatsby-starter-default
  2. npm install
@KyleAMathews
Copy link
Contributor

Looks like for some reason git couldn't connect to github — fatal: unable to connect to github.com: — so this isn't a Gatsby error. It could have been a temporary network problem so please try again!

@hackhat
Copy link
Author

hackhat commented Jan 16, 2018

But worked with custom git command. See the fix section. It worked when the other didn't work, so I doubt is a git network issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants