`error: Failed to create repository /demo due to: POST https://api.github.com/user/repos: 404 Not Found []`

1/11/2019

I have setup kubernetes cluster using minikube on local , installed jenkins x on that but while creating project on jx using jx create spring I am getting error error: Failed to create repository /demo5 due to: POST https://api.github.com/user/repos: 404 Not Found [] I have also tried with jx create spring --git-username=user_name --git-api-token=token

-- Sarika Jamdade
git
github
jenkins--x
kubernetes
minikube

1 Answer

1/11/2019

was the user_name you supplied a valid github user name? btw the repository name you gave was it just demo5 or did you add a / at the beginning? Maybe we need to strip out any leading/trailing slash characters

-- James Strachan
Source: StackOverflow