Picture of Helen Bailey
Adapt-cli install fail
by Helen Bailey - Friday, 2 October 2015, 9:09 AM
 

Installing builder 0.1.2 on Windows 7 pc - get the following.

Any thoughts? I'm on a University network so possibly a problem with it connecting to github? Is there a workaround?

 

Picture of Jack Sumeray
Re: Adapt-cli install fail
by Jack Sumeray - Friday, 2 October 2015, 9:42 AM
 

I believe this is your network proxy stopping you accessing the github site. If you switch to wifi you might be able to get around this?

Picture of Helen Bailey
Re: Adapt-cli install fail
by Helen Bailey - Friday, 2 October 2015, 9:48 AM
 

Sounds about right as I have checked node, git and mongodb and all seem fine.  

 

Not sure these machines even have wifi though - is there a further workaround if they don't?

 

Cheers

Helen

Picture of Helen Bailey
Re: Adapt-cli install fail
by Helen Bailey - Friday, 2 October 2015, 10:04 AM
 

Nope - no wifi adpter on the machine as suspected :(

npm version = 2.14.4

node version = 4.1.1

git version = 1.9.4.nsysgit.0

 

Picture of Tom Taylor
Re: Adapt-cli install fail
by Tom Taylor - Friday, 2 October 2015, 10:04 AM
 

Sometimes there's a problem with the git:// protocol, and switching to using http(s):// will work.

Have a look at this StackOverflow question, which should help you to diagnose what's wrong.

Picture of Helen Bailey
Re: Adapt-cli install fail
by Helen Bailey - Friday, 2 October 2015, 10:12 AM
 

Tom - amazing as ever.

So far so good but I get to the bit where it says :

You can see how this looks on file, by taking a peek at ~/.gitconfig where you should now see that the following two lines have been added:

[url "https://"]
    insteadOf = git://

but mine reports back with :

/m/.gitconfig: line 1: [user]: command not found

/m/.gitconfig: line 2: name: command not found

and it goes on down to 5 - /m/.gitconfig: line 5: insteadOf: command not found

 

I wonder if i'm looking in the wrong place for the config file?

You can see how this looks on file, by taking a peek at ~/.gitconfig where you should now see that the following two lines have been added:

[url "https://"]
    insteadOf = git://
Picture of Tom Taylor
Re: Adapt-cli install fail
by Tom Taylor - Friday, 2 October 2015, 10:30 AM
 

Running a 'git config --list' here is the quickest way to check it's stored.

Picture of Helen Bailey
Re: Adapt-cli install fail
by Helen Bailey - Friday, 2 October 2015, 10:18 AM
 

AH might be something to do with git not in my PATH according to stack overflow. Will check...

Picture of Jack Sumeray
Re: Adapt-cli install fail
by Jack Sumeray - Friday, 2 October 2015, 10:23 AM
 

We have the same problem, usually switching to wifi resolves it. If you don't have wifi could you tether your phone whilst you do the download?

Picture of Helen Bailey
Re: Adapt-cli install fail
by Helen Bailey - Friday, 2 October 2015, 10:25 AM
 

We have a wifi connection available, but my machine has no wifi adapter, so it won't connect to a wifi network!

Picture of Ryan Lehmann
Re: Adapt-cli install fail
by Ryan Lehmann - Friday, 2 October 2015, 11:04 AM
 

Hi Helen,

I'm not sure what the issue you're currently having is about, so I may be getting too far ahead here. But if the original problem was that the git protocol (ssh) really is blocked on your network, you may run into a similar problem later on with any node commands. If that happens, you can switch the http node registry like this:

npm config set registry http://registry.npmjs.org/

We had a similar issue on our our network, but configuring git and node to use http instead of ssh seemed to solve it. Sounds like there is something else in your git setup at the moment. 

Picture of Helen Bailey
Re: Adapt-cli install fail
by Helen Bailey - Friday, 2 October 2015, 12:55 PM
 

Hey Ryan,

 

I *just* added that in from the results of some google searching.... It's just slightly beyond my realm of understanding so I'm trying anything I find!!!

 

Gonna restart and see what happens.

 

Thanks!

Picture of x z
Re: Adapt-cli install fail
by x z - Friday, 2 October 2015, 11:27 AM
 

Tethering was going to be my suggestion, & it doesn't require wifi or bluetooth but can be done via USB connection. It sucks up data, however. Instructions for the Windows 7 side can be found here -- http://www.howtogeek.com/213203/how-to-use-your-iphone’s-hotspot-or-a-usb-cable-for-tethering/

Picture of Helen Bailey
Re: Adapt-cli install fail
by Helen Bailey - Friday, 2 October 2015, 12:57 PM
 

Ooh this is looking promising Sue! WIll report back!

Picture of Helen Bailey
Re: Adapt-cli install fail
by Helen Bailey - Friday, 2 October 2015, 1:49 PM
 

Well, between you all I think we cracked it to a point. I tethered my phone and used the registry.npmjs fix and it seems to have successfully completed the npm install.

EDIT! I just wasn't in the right folder and doing the right steps - it helps to ;)

Currently running npm install, then just node install and I should be up and running!!!!

 

Thanks so much guys just needed that nudge over the edge!

 

WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

Helen