sapphire type does not install on Node 19 [2]

This is very weird when i tried using the sapphire new command, The same happens with npm too?
Solution:
downgrade to Node 18. Sapphire type is not supported on Node 19 yet.
Jump to solution
13 Replies
yusof
yusof2y ago
nah I get a different error
Favna
Favna2y ago
sapphire/type@npm:2.2.6 couldn't be built successfully (exit code 1, logs can be found here: C:\Users\yusof\AppData\Local\Temp\xfs-c3444692\build.log)
tells you exactly what file to open and the title of the thread is wrong.
can't be found in the cache and will be fetched from the remote registry
these are not errors. It literally is saying "hey I cannot find it locally, I'm going to fetch it from the registry (remote)
yusof
yusof2y ago
here are the contents of the log file
Solution
Favna
Favna2y ago
downgrade to Node 18. Sapphire type is not supported on Node 19 yet.
Favna
Favna2y ago
Generally you should always use LTS versions unless you have a very very specific need to use Latest
Favna
Favna2y ago
and even then you should use a version manager like https://volta.sh and only use the newer version for the one project
yusof
yusof2y ago
kk
Favna
Favna2y ago
Also note that it was the same error as Krish linked you to.
yusof
yusof2y ago
my bad i will mark this as completed if it works
Krish
Krish2y ago
so my guess was correct
yusof
yusof2y ago
yeah all I got was some discontinued warnings well hey it worked
Want results from more Discord servers?
Add your server