SpoonX / swan-cli

The cli for swan
12 stars 3 forks source link

Error on swan setup #12

Closed ghost closed 8 years ago

ghost commented 8 years ago

I'm trying to use swan setup as follows: swan setup spoonx/aurelia-todo

But I get the following error:

- Forking project.Repository not forked after 30 retries. Please try running the same command again.

</3 Unable to fork spoonx/aurelia-todo.
Does the personal access token have full access to repo?

I've granted the access token the repo permissions. What could be the reason?

RWOverdijk commented 8 years ago

@kst83 We'll take a look. For the time being, I'd recommend removing the aurelia-todo fork.

For our information, could you share your environment info? OS and node version specifically would be very helpful :)

ghost commented 8 years ago

Thanks for looking at it. My OS is Windows and I'm on Node 6.2.1

RWOverdijk commented 8 years ago

@kst83 I haven't tested this on windows yet. Is your access token configured? As in, did you run swan configure?

ghost commented 8 years ago

Yes, I did run it. I also created a .gitconfig file.

RWOverdijk commented 8 years ago

Mhm alright.... It might take a little while, but I'll have a look at this :)

To verify, you installed sails, gulp and jspm globally?

ghost commented 8 years ago

Yes, they are installed globally

VMBindraban commented 8 years ago

@kst83 Which version of Windows do you run? I tried it on windows 7 and it works.

We renamed the project to spoonx/swan-example a couple of days ago. Can you try swan setup spoonx/swan-example?

ghost commented 8 years ago

I'm on Windows 10. Do I need some special settings in .gitconfig maybe?

VMBindraban commented 8 years ago

@kst83 I got the same issue on Win10. I will take a look at it.

VMBindraban commented 8 years ago

@kst83 Do you have your name set in the .gitconfig? This was the reason why it didn't work for me.

ghost commented 8 years ago

Yes, I have it set. It can be any value, right?

VMBindraban commented 8 years ago

@kst83 It must be your username. It will check if your-username/repo-name has been forked.

ghost commented 8 years ago

Thanks, now its at leas working until "installing server (1/2)". But I still get </3 Unable to fork spoonx/swan-example after that.

VMBindraban commented 8 years ago

@kst83 Can you run npm install within the server directory? It seems that npm is giving an error.

ghost commented 8 years ago

After adding Python 27 to my path and running "npm config set msvs_version 2015" to match my Visual Studio Express 2015 version, npm install is now running smoothly.

swan setup spoonx/swan-example no works too

thanks for the help!