When building my project on my ubuntu server, with tsc, I get those errors, its more a TS issue than djs but I'm clueless, cause it works on my local windows machine.
Chillihero2/18/2023
I have the feeling that it could be related to the env but this is just a wild guess
Favna2/18/2023
TS is never env specific
Favna2/18/2023
this is purely exclusively related to your node_modules
Favna2/18/2023
i.e. your Node version, using the same package manager and version of that, installing with immutable/frozen lockfile, etc
Favna2/18/2023
And this people is why everyone should use Docker for production, so the entire environment is fully reproducible lol