fantasy
Explore posts from serversDTDrizzle Team
•Created by fantasy on 5/14/2024 in #help
uuid becomes text in migration
In my schema i have a user table (based on auth.js requirements):
However in the resulting migration, the column is marked as text and is missing the
DEFAULT gen_random_uuid()
:
This does not happen for other tables, for example:
I'm using the latest drizzle-kit 0.21.1 version.1 replies
SIASapphire - Imagine a framework
•Created by fantasy on 5/3/2024 in #sapphire-support
node-gyp build problems with @sapphire/type
Trying to install @sapphire/type, bufferutil or other native libraries fails on my windows machine.
Visual studio throws syntax errors parsing the node includes.
The problem does not occur with clang on my linux machine.
As vs22 is the recommend version for node-gyp 10.1.0, I'm puzzled what the error might be,
however I have no direct experience with node modules in this sense.
Node Version: v22.1.0
node-gyp Version: 10.1.0
Python Version: Python 3.12.3
VS Version: 17.9.6 Enterprise with C++ Desktop Development workload
64 replies
SIASapphire - Imagine a framework
•Created by fantasy on 6/9/2023 in #discordjs-support
Error: Cannot properly serialize component type:
While refactoring and sourcing out some modals into external files, i encountered this error.
Ive been trying for a few hours so im 100% sure its the exact same code.
Ive also tried the modal tutorial code from the discordjs wiki and could reproduce the error when putting it in a function that returns a modal which resides in a different file.
5 replies