Comments (5)
There's now an "error prompt" which should appear when errors are thrown:
from kit.
Does the log at ~/.kit/logs/kit.log
give any more info? It may be an error being caught in the App itself
from kit.
There's nothing about "replace" in that file and it doesn't appear to have any useful logs around that same time.
from kit.
I'm in the middle of a refactor, so I'll just info dump on you :D. If you don't figure it out, I'll definitely try on Thursday (big family day tomorrow)
Looks like Kit is swallowing uncaught exceptions without logging the stack.
You can play around with the following process.on("uncaughtException")
lines:
https://github.com/johnlindquist/kit/blob/beta/api/kit.js#L108
On your machine, that's ~/.kit/api/kit.js
- Any changes you make to that file will automatically be picked up in the next run. So feel free to tweak/play as if you're just writing a script.
- On the next update, the
.kit
dir is completely wiped, so don't do any "real work" - Worst case scenario, you can quit Kit.app,
rm -rf ~/.kit
, then open Kit.app to recreate the .kit dir - You can run
npm run dev
in the root of.kit
if you'd prefer to use TypeScript (it's all insrc
) - Please don't worry about PRs for now. You'd have to clone kit to ~/.kit, submit PRs on the alpha branch, then manually pull from the beta branch on each new Kit.app update.
Or just wait until Thursay 😅
from kit.
Thanks for that info @johnlindquist! If I bump into this again then I'll do some digging with that 👍
from kit.
Related Issues (20)
- Extra space breaks clipboard expected behaviour of the Clipboard #v2 HOT 2
- Permissions > Request Input Monitoring Access doesn't do anything
- [Feature] Provide a global `css` tagged template literal function for better IDE DX
- "Focus Window" script doesn't work HOT 2
- Pass metadata breaks when input starts with a hyphen
- -login- already exists. Try again: HOT 4
- Recording clipboard history not working on Linux?
- Fresh install has high idle CPU on Windows 11 HOT 16
- Cannot use powershell for scripts HOT 3
- focusTab always opens a new tab HOT 2
- `hideWithoutInput` and `miss` properties of `arg`
- Action shortcuts only available after side panel has been opened once HOT 1
- Feature Request - Add Option to Toggle Unused UI Buttons HOT 1
- v3 Beta Roadmap
- Hotkey causes all shortcuts to fail HOT 1
- A simple Password Manager script has an error HOT 1
- Snippet Triggering with Wrong Keyboard Language
- Comment in script causes new script to be created
- How to set size of form window? HOT 2
- tutorial and inspect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kit.