Open johnbocook opened 9 years ago
Did you get any errors when running npm install -g foundation-cli
?
I tried on another VM and was able to run the command. Here is the output, http://pastebin.com/KhLS8JPQ
Alright, in this case I think the Git clone failed. Does the git
command work properly in your environment?
It does. I as able to clone the manual install repo. I have the cli functioning in OSX but both windows machines are still giving errors. I've followed a bunch of different tutorials but no luck yet.
_John Bocook_Full Stack Developer
☎ (614) 779-2670 ★ JohnBocook.com [image: LinkedIn] http://www.linkedin.com/in/johnbocook/ [image: Twitter] https://twitter.com/johnbocook [image: Facebook] https://www.facebook.com/john.bocook [image: Google Plus] https://plus.google.com/+JohnBocook/posts
On Thu, Sep 3, 2015 at 5:54 PM, Geoff Kimball notifications@github.com wrote:
Alright, in this case I think the Git clone failed. Does the git command work properly in your environment?
— Reply to this email directly or view it on GitHub https://github.com/zurb/foundation-apps/issues/685#issuecomment-137584945 .
I see. The CLI is failing on process.chdir()
, which is when it changes directory to the folder that git clone
just created. Do you see that folder after running foundation-apps new
?
I'm using cyg-win. I just read an issue with grunt. cyg-win installs an outdated version of node and some issue with git being locked into the cyg-win directory. I wonder if that stops git from having certain permissions needed. I'll try again with the windows command prompt and power shell to see if I can replicate the issue.
Ah, so the issue is Node not being able to shell out to the git
command. In that case I assume the CLI would report an error relating to exec('git clone')
, but in this case it's not.
On both Windows 10 and Ubuntu, when I try to run foundation-apps new projectName I get "Command Not Found". I'm not sure how to find if the PATH was setup properly or setup it if not.