ooi cat
ooi cat
Explore posts from servers
KKinde
Created by ooi cat on 3/27/2024 in #💻┃support
Reading Kinde user's discord id, if possible
No description
24 replies
DTDrizzle Team
Created by ooi cat on 3/14/2024 in #help
Problem with electron and drizzle-kit push
Hey. I am using electron with better-sqlite3 and drizzle. For better-sqlite3 to be able to work with electron, it has to be built for it. I build it and I can use drizzle to generate schemas and write statements, for example (create user) and the app works fine. However, when I try to run
drizzle-kit push:sqlite
drizzle-kit push:sqlite
I get:
better_sqlite3.node was compiled against a different Node.js version using NODE_MODULE_VERSION 119. This version of Node.js requires NODE_MODULE_VERSION 120. Please try re-compiling or re-installing the module.
better_sqlite3.node was compiled against a different Node.js version using NODE_MODULE_VERSION 119. This version of Node.js requires NODE_MODULE_VERSION 120. Please try re-compiling or re-installing the module.
It seems that somehow my setup is mismatching my node versions or something. If I manually go to my better-sqlite3 node module folder and build it, I can run drizzle-kit push:sqlite with no problems. However my app won't launch anymore after that and gives me the exact same node_module_version mismatch problem. It just seems like some weird compile/package/version mismatching problem and I have no clue at this point.
4 replies
KKinde
Created by ooi cat on 1/19/2024 in #💻┃support
Need help with roles (setPermission(s), setRole(s))
Hey. I want to programmatically set roles/permissions for users, is this in any way possible, or should I use a seperate db to implement this. The Kinde next app router v2 server/clientside libs give me getters for a lot of stuff but it seems that a lot of stuff can be set only manually. My motivation for doing this is that I would like to give user some perm(s)/role(s) when they subscribe with stripe. Dont know yet how I'm implementing that. Just would love to use kinde + subscriptions in my next app Also see that you guys are working on the "Billing" feature 👏 . How should one do billing currently in kinde next environment?
35 replies
DTDrizzle Team
Created by ooi cat on 1/6/2024 in #help
Can I connect to a drizzle-kit studio running inside a vps when using http, and not https.
I specified custom host and ports with the --host and --port flags
14 replies
DIAdiscord.js - Imagine an app
Created by ooi cat on 8/23/2023 in #djs-questions
Handle button press without interaction
I want nothing to happen in the discord clientside after a button press, no followUp, no editing that is visually seen, no deferring and thinking. I just want the user to press a button, let some code run in the background and that is it. Is this possible?
5 replies
DIAdiscord.js - Imagine an app
Created by ooi cat on 8/22/2023 in #djs-questions
Streaming external websocket backend state to a discord channel
Hey I have a discord bot that is connected to a separate websocket backend with WebSockets. I want the bot to show the backend servers state on a discord channel, should I just make the bot send a message that shows the backend server state and then edit that message on every backend state change? I am listening to the websocket backend server changes with the discord bot
32 replies