Type T[P] does not satisfy constraint Option<any>
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.
3 Replies
I have the feeling that it could be related to the env but this is just a wild guess
TS is never env specific
this is purely exclusively related to your node_modules
i.e. your Node version, using the same package manager and version of that, installing with immutable/frozen lockfile, etc
And this people is why everyone should use Docker for production, so the entire environment is fully reproducible lol
yeaa I am not familiar with docker unfortunately