sapphire type does not install on Node 19 [1]

Well, it seems to dislike me. Fails to build dependencies as it seems like.
Solution:
Nuke @sapphire/type from deps, or downgrade to v18
Jump to solution
10 Replies
chewie
chewieOP3y ago
kyra
kyra3y ago
Node.js v19 isn't supported
chewie
chewieOP3y ago
ah well, time to downgrade LTS I assume
Solution
kyra
kyra3y ago
Nuke @sapphire/type from deps, or downgrade to v18
kyra
kyra3y ago
The problem is that nan doesn't support v19
chewie
chewieOP3y ago
Worked like a charm, thanks bobolove
kyra
kyra3y ago
np ^^
Favna
Favna3y ago
Adding to that, Kyra made a fix PR but CI is failing on it still and @kyra has said she doesn't want to look at @Vladdy is too busy / has difficulties reading the workflows or something with the amount of times I've had to point stuff out to him that was in plain view angery (Also I had the PR green for 1 commit but then vladdy went all like "yeah we're not merging it in this state")
Favna
Favna3y ago
GitHub
fix: add support for Node 19. remove nan dependency by kyranet · ...
Removes nan in favour of bare-metal node.h as documented in https://nodejs.org/dist/latest-v19.x/docs/api/addons.html. This should in theory allow Node.js v19 builds. On the flip side, I haven'...
RedS
RedS3y ago
btw that's the last step of CLI, so even if it throws an error you can download packages later, you don't need to create the project again
Want results from more Discord servers?
Add your server