sapphire type does not install on Node 19 [1]
Well, it seems to dislike me.
Fails to build dependencies as it seems like.
10 Replies
Node.js v19 isn't supported
ah well, time to downgrade
LTS I assume
Solution
Nuke
@sapphire/type
from deps, or downgrade to v18The problem is that
nan
doesn't support v19Worked like a charm, thanks
np ^^
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
(Also I had the PR green for 1 commit but then vladdy went all like "yeah we're not merging it in this state")
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'...
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