Skip to content

Deploying to GithubPages - "Failed to get remote.origin.url" #3649

@carpben

Description

@carpben

Is this a bug report?

Yes

Can you also reproduce the problem with npm 4.x?

Yes.

Which terms did you search for in User Guide?

I'm trying to deploy my app to Github Pages and from Bash on Ubuntu on Windows. I followed the instructions on Deployment -> Github Pages

Environment

  1. node -v: 8.9
  2. npm -v 4.6.1
  3. yarn --version (if you use Yarn):
  4. npm ls react-scripts (if you haven’t ejected): react-scripts@1.0.17

Then, specify:

  1. Operating system: Windows 10
  2. Browser and version (if relevant):

Using Bash on Ubuntu on Windows. React 16. Git is installed. Remote on Github is set.

Steps to Reproduce

  1. clone https://github.com/carpben/fccLeaders in a simillar environment.
  2. run 'npm install'
  3. run 'npm run deploy'

Expected Behavior

The app deployed to githubpages.

Actual Behavior

Error.
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions