Giter Site home page Giter Site logo

Comments (18)

dcsan avatar dcsan commented on June 11, 2024

This isn't fixing the actual problem, but you could try installing git
with homebrew rather than using the apple os version

from famous.

mthwtkr avatar mthwtkr commented on June 11, 2024

Let me give that a shot. A work around right now would be okay.

from famous.

mthwtkr avatar mthwtkr commented on June 11, 2024

Attempted that work around with no success.

Started by renaming original git directory to git-org

  • cd /usr/bin
  • sudo mv git git-org

Installed git with homebrew and ran brew doctor with no errors.

Still have the same issue.

Now "git --version" returns

  • git version 1.9.2

which git returns

  • /usr/local/bin/git

from famous.

cnewmango avatar cnewmango commented on June 11, 2024

My buddy sivehc had the same problem on his Apple. He ended up Googling enough to find that he had to choose the right option that sets the environmental variables when installing git. Due to the fact that I'm a MS user, I hope this helps.

from famous.

cnewmango avatar cnewmango commented on June 11, 2024

This is verbatim from sivehc:
"The dangerous looking option with the red text. Choice number three. I'd have to install it again to get the details."

from famous.

mthwtkr avatar mthwtkr commented on June 11, 2024

Okay I will look into that solution further. The only thing I find odd is that git works as intended for everything else except famo.us.

from famous.

cnewmango avatar cnewmango commented on June 11, 2024

I believe it is how it communicates with node,js and grunt.

from famous.

mthwtkr avatar mthwtkr commented on June 11, 2024

Alright I'm still not having any luck with this. I uninstalled and re-installed git. Only third option that I could find was to set up the environment variables. Which I had done before, but went ahead and stepped through that process again.

I opened up my ~/bash.profile and added this line "export PATH=/usr/local/git/bin:$PATH"

  • open ~/.bash_profile

After saving, I output the contents of ~/.bash_profile to double check it saved:

  • cat ~/.bash_profile

To double check that it was actually using that .bash_profile I ran:

  • source ~/.bash_profile

Finally I ran yo famous inside an empty directory (documents/famous/testApp), but still received the same error

  • (ERROR) It looks like you do not have git installed, please install it and try again.

Any more suggestions ?

from famous.

sirlantzalot avatar sirlantzalot commented on June 11, 2024

I don't have access to famo.us yet(hopefully soon) but I have had a problem like this when setting up node.js. During install something gets messed up in OSX with permissions of the folders and git can't see them. Check the sharing & permissions for (Me) to have read/write access to the famous folders. Hope this helps.

from famous.

mthwtkr avatar mthwtkr commented on June 11, 2024

Couldn't find anything wrong with the file permissions. Decided I'm getting tired of trying to find sensible solutions. So I opened up generator-famous/app/index.js file and commented out the pesky block of code throwing the error. Ran "yo famous" with out any issues so far. Going to leave this open for now to see if someone else comes up with a more elegant solution.

from famous.

MylesBorins avatar MylesBorins commented on June 11, 2024

@Theshaft06 could you file an issue over at Famous/generator-famous

This is a super odd bug. I think it is most likely something going on with shell.js

I wrote a super simple repo that tests the lib call we are using

TheAlphaNerd/check-shell

Can you try running that and tell me the output you are getting? I suspect this might be a bug in shell.

from famous.

mthwtkr avatar mthwtkr commented on June 11, 2024

Ya, I realized I filed this in the wrong place. Doh! I'll do that now.

Also, the link for the script leads to a broken github link.
(EDIT) Never mind. The link isn't broken. It's just getting prepended with current url.

from famous.

ch4se avatar ch4se commented on June 11, 2024

open the git command prompt and type yo famous

from famous.

mthwtkr avatar mthwtkr commented on June 11, 2024

I'm fairly certain there is not a git command prompt in mac. I could download a git gui, but I don't believe this wouldn't solve the issue. Since I am able to access git from my terminal for everything else. Seems more to be an issue with shell.js

from famous.

ch4se avatar ch4se commented on June 11, 2024

Oh that's unfortunate, I was having the same issue as you on my windows PC and using the git command prompt worked it out for me. Anyways, good luck!

On Mon, May 12, 2014 at 9:29 PM, Matt Tucker [email protected]
wrote:

I'm fairly certain there is not a git command prompt in mac. I could download a git gui, but I don't believe this wouldn't solve the issue. Since I am able to access git from my terminal for everything else. Seems more to be an issue with shell.js

Reply to this email directly or view it on GitHub:
#51 (comment)

from famous.

bastiandantilus avatar bastiandantilus commented on June 11, 2024

osx Definitely has git shell, in fact it's mentioned in the xcode docs.

On Mon, May 12, 2014 at 10:04 PM, ch4se [email protected] wrote:

Oh that's unfortunate, I was having the same issue as you on my windows PC
and using the git command prompt worked it out for me. Anyways, good luck!

On Mon, May 12, 2014 at 9:29 PM, Matt Tucker [email protected]
wrote:

I'm fairly certain there is not a git command prompt in mac. I could
download a git gui, but I don't believe this wouldn't solve the issue.
Since I am able to access git from my terminal for everything else. Seems

more to be an issue with shell.js

Reply to this email directly or view it on GitHub:
#51 (comment)


Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-42917417
.

from famous.

ch4se avatar ch4se commented on June 11, 2024

Try a spotlight search for it

On Mon, May 12, 2014 at 10:39 PM, Scott Robert Lawrence
[email protected] wrote:

osx Definitely has git shell, in fact it's mentioned in the xcode docs.
On Mon, May 12, 2014 at 10:04 PM, ch4se [email protected] wrote:

Oh that's unfortunate, I was having the same issue as you on my windows PC
and using the git command prompt worked it out for me. Anyways, good luck!

On Mon, May 12, 2014 at 9:29 PM, Matt Tucker [email protected]
wrote:

I'm fairly certain there is not a git command prompt in mac. I could
download a git gui, but I don't believe this wouldn't solve the issue.
Since I am able to access git from my terminal for everything else. Seems

more to be an issue with shell.js

Reply to this email directly or view it on GitHub:
#51 (comment)


Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-42917417
.


Reply to this email directly or view it on GitHub:
#51 (comment)

from famous.

MylesBorins avatar MylesBorins commented on June 11, 2024

Hey all...

Can we please move discussion of this issue over to famous/generator-famous

This issue has been closed
On May 13, 2014 10:06 AM, "ch4se" [email protected] wrote:

Try a spotlight search for it

On Mon, May 12, 2014 at 10:39 PM, Scott Robert Lawrence
[email protected] wrote:

osx Definitely has git shell, in fact it's mentioned in the xcode docs.
On Mon, May 12, 2014 at 10:04 PM, ch4se [email protected]
wrote:

Oh that's unfortunate, I was having the same issue as you on my windows
PC
and using the git command prompt worked it out for me. Anyways, good
luck!

On Mon, May 12, 2014 at 9:29 PM, Matt Tucker [email protected]

wrote:

I'm fairly certain there is not a git command prompt in mac. I could
download a git gui, but I don't believe this wouldn't solve the issue.
Since I am able to access git from my terminal for everything else.
Seems

more to be an issue with shell.js

Reply to this email directly or view it on GitHub:
#51 (comment)


Reply to this email directly or view it on GitHub<
https://github.com/Famous/famous/issues/51#issuecomment-42917417>
.


Reply to this email directly or view it on GitHub:
#51 (comment)


Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-42983098
.

from famous.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.