Closed purefn closed 4 years ago
This appears to be a problem with the wrong versions of packages appearing in the node_modules
created during the nix build. I haven't worked out why some versions are different, but it definitely appears to be the problem. I'll close this and open a separate issue if I can track the problem down to yarn2nix
.
I have a TypeScript SPA that I'm trying to get work with
mkYarnPackage
. The problem I'm running into that I'm unable to figure out is that when running tslint, it gives errors that it does not give when built with plain old yarn. All the errors are of this typeUnsafe use of expression of type 'any'.
.To see if that was the only problem, I took tslint out of the build pipeline. Now I'm able to get to the point where the typescript compiler is run, but I see errors there too.
They all seem to be indicating something is missing in the set up, but I have no idea what that could be. Has anyone run into something like this before using
mkYarnPackage
/yarn2nix
? How might I go about figuring out what is wrong?