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
kyra
kyraβ€’2y ago
Node.js v19 isn't supported
chewie 🌈
chewie πŸŒˆβ€’2y ago
ah well, time to downgrade LTS I assume
Solution
kyra
kyraβ€’2y ago
Nuke @sapphire/type from deps, or downgrade to v18
kyra
kyraβ€’2y ago
The problem is that nan doesn't support v19
chewie 🌈
chewie πŸŒˆβ€’2y ago
Worked like a charm, thanks bobolove
kyra
kyraβ€’2y ago
np ^^
Favna
Favnaβ€’2y 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
Favnaβ€’2y 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
RedSβ€’2y 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