Giter VIP home page Giter VIP logo

Comments (18)

johnlindquist avatar johnlindquist commented on August 16, 2024 1

It's a Big Sur thing

from kit.

johnlindquist avatar johnlindquist commented on August 16, 2024

Screen Shot 2021-04-11 at 3 42 05 PM

Thanks so much for including the video. That error most often occurs after Big Sur updates and you haven't run git yet to setup dev tools. Please open a terminal, try to run git, and you'll see that same "xcrun" error.

This is usually fixed with xcode-select --install or sudo xcode-select --install

from kit.

edgarasben avatar edgarasben commented on August 16, 2024

No worries. Thank you, I will try!

Are those additional steps needed because of the Beta? If that’s a part of a regular setup, it might trip many people.

from kit.

johnlindquist avatar johnlindquist commented on August 16, 2024

Great question. Script Kit only requires "git" has been set up.

So only people who haven't set up git will need this workaround. I'll work on making this easier and more obvious for the people this impacts.

I may remove the git requirement in the future, but it's not planned

from kit.

edgarasben avatar edgarasben commented on August 16, 2024

Hmm, but I do have git installed. Do I still need to run xcode-select --install or sudo xcode-select --install?

from kit.

johnlindquist avatar johnlindquist commented on August 16, 2024

That same "xcrun" error should occur when you try to "git clone" from your terminal.

Googling the error, which many, many people run into, shows that running that xcode command is the solution.

Script Kit can't set up until "git clone" works on your system.

from kit.

edgarasben avatar edgarasben commented on August 16, 2024

I am using git and git clone quite often. Did not run into similar issues.
image

from kit.

johnlindquist avatar johnlindquist commented on August 16, 2024

Can you try removing the 2 directories Kit.app clones, then launch the Kit.app again to see if it clones properly now?

  1. rm -rf ~/.kit
  2. rm -rf ~/.kenv

Thanks. Sorry this has been such a hassle. I'll have much more robust verification during install once we get out of Beta.

from kit.

edgarasben avatar edgarasben commented on August 16, 2024

No problem!

I've tried but these directories do not exist:
image

from kit.

johnlindquist avatar johnlindquist commented on August 16, 2024

My last recommendation is to manually clone/setup the two repos and then launch the app. Instructions are here:

#89

from kit.

edgarasben avatar edgarasben commented on August 16, 2024

Unfortunately still does not work after those steps:
image

from kit.

johnlindquist avatar johnlindquist commented on August 16, 2024

Hmm, Kit.app still uses git to verify the tag of ~/.kit matches the Kit.app version.

There must be something going on between the lib I use and your git installation. I'm using:

https://www.npmjs.com/package/simple-git

Have you done any configuration to git? Maybe it's in a different path than the default?

I'm kind of running out of ideas since this appears to be unique to your system.

from kit.

edgarasben avatar edgarasben commented on August 16, 2024

Hmm, I don't think I did anything special to git. It's installed using brew install git and it's installed at /usr/local/bin

from kit.

johnlindquist avatar johnlindquist commented on August 16, 2024

Did you try the xcode-select install? It's an extremely common git issue (although I don't know why yours would be working):

https://stackoverflow.com/questions/52522565/git-is-not-working-after-macos-update-xcrun-error-invalid-active-developer-pa

from kit.

edgarasben avatar edgarasben commented on August 16, 2024

Ok that actually worked! Thank you!

I simply did not have xcode development software and I assume many users won't either. I also assume this is only needed for beta?

By the way, how do I close the app?

from kit.

johnlindquist avatar johnlindquist commented on August 16, 2024

git ships on macs by default. The default git requires devtools as you can see by the issue above. So I'm not requiring dev tools, I'm just requiring git and git requires devtools.

It appears the simplegit library is looking for the default git version, whereas you're using the brew version in the terminal. I'll research if there's a way to point simplegit towards homebrew.

help->quit will close the app.

from kit.

edgarasben avatar edgarasben commented on August 16, 2024

I've always used a (probably) default git and it never required dev tools. As I understand dev tools are needed to develop native apps. I am mainly working on web apps. So I never had dev tools installed.

from kit.

johnlindquist avatar johnlindquist commented on August 16, 2024

I removed the git requirement from recent builds. This should no longer happen πŸ‘

from kit.

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.