Errors when extending @sapphire/ts-config
I am extending the tsconfig in my config by using
(yes this is the entire tsconfig file)
And I get these errors when running
tsc
:![](https://utfs.io/f/4721d5d6-cd8d-4018-885c-8d92f294f42c-1nq2cb.png)
6 Replies
Here are my deps:
Have you tried deleting node_modules and reinstalling?
i have never seen error messages stack like that
will try, sec
Did not work, I also moved from node 16 to node 18 to check if that helps, it didn't
The problem is that you're calling your globally installed typescript (
tsc
as opposed to npx tsc
/ yarn tsc
/ etc) which is very outdated compared to the one in your package.json
So either uninstall your global version so you can't mess up like this anymore, or update it. Or just don't use it.
@oriel beck did you get this?Hmmm
I didn't see this
I'll run it through yarn then, I was running swc as a fix for now