John Lindquist
John Lindquist
@SimplGy If you manually link ~/.kit to ~/.kenv like so: ```bash cd ~/.kenv && PATH=~/.knode/bin:$PATH npm i ~/.kit ``` Does that: 1. Succeed? 2. Change what the `~/.kenv/package.json` looks like?
@mizagog the $ is an alias for the "zx" package here: https://github.com/google/zx Please check their docs for changing working directories, adding directories to the PATH. When something is "missing", 99%...
@SimplGy Now I'm _really_ curious 😅 (fyi, that npm i command works on my machine 🙃)
@SimplGy Hrmmmmmmmmmmm 🤔 By any chance, did you ever use `yarn` inside of `~/.kenv`?
@SimplGy I really appreciate you taking the time to look into it!!! 🙏 Glad we at least have a fix for now. The setup process literally does `npm i ~/.kit`...
@vhmartinezm I'll get this sorted in this week's build. It's a matter of the script running from the app's node vs the ~/.knode/bin/node. I made the change to run on...
@vhmartinezm Should be sorted 👍
@vhmartinezm Testing with this: [Open testing-node-canvas in Script Kit](https://scriptkit.com/api/new?name=testing-node-canvas&url=https://gist.githubusercontent.com/johnlindquist/c03316d6e7c51981063dfa43b351c92c/raw/4810d28cc4cfbdc55246e700f11e6f7fe03135c9/testing-node-canvas.ts") ```js // Name: Testing node-canvas import "@johnlindquist/kit" let { createCanvas, loadImage } = await import("canvas") let canvas = createCanvas(200, 200) let...
@alexilyaev If believe that happens when `Kit.app` doesn't have permissions for "Screen Recording". It sounds silly, but I'm pretty sure Screen Recording is needed to access the system API that...
That error is usually fixed in the terminal by running: cd ~/.kenv ~/.knode/bin/npm i ~/.kit From what I can tell, this usually happens when a user tries to "npm install"...