Giter VIP home page Giter VIP logo

Comments (4)

johnlindquist avatar johnlindquist commented on July 17, 2024 1

Just as validation for myself and to save this screenshot, if you run code from VS Code's terminal, you get the same warning

CleanShot 2021-11-19 at 09 59 11

from kit.

kentcdodds avatar kentcdodds commented on July 17, 2024

It's working now. 🤷‍♂️

from kit.

johnlindquist avatar johnlindquist commented on July 17, 2024

The code exectuable (shipped by VS Code) uses default python. The default python on Monterey is 2.7.

So when Kit invokes code, it gives a warning about Kit 😢..

I would have to write a custom code command to get around this. So dumb. Makes me sad, but I'll just have to live with it until they fix their stuff. Luckily, the warning goes away.

Here's the contents of the code command shipped with VS Code if you've ever been curious:

#!/usr/bin/env bash
#
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.

function realpath() { python -c "import os,sys; print(os.path.realpath(sys.argv[1]))" "$0"; }
CONTENTS="$(dirname "$(dirname "$(dirname "$(dirname "$(realpath "$0")")")")")"
ELECTRON="$CONTENTS/MacOS/Electron"
CLI="$CONTENTS/Resources/app/out/cli.js"
ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --ms-enable-electron-run-as-node "$@"
exit $?

from kit.

kentcdodds avatar kentcdodds commented on July 17, 2024

Looks like there's not much you can do here 🤷‍♂️ Thanks anyway! Kit is way faster now with this new macbook. I'll probably use it for way more than I used to 😅

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.