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.
![No description](https://utfs.io/f/825eb6cb-e46b-42ee-8b48-19b63e946320-1nq2cb.png)
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