New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with pnpmfileChecksum and frozen-lockfile #7951
Comments
@KSXGitHub could the checksum of the |
@divmgl do you have the same |
@zkochan checking now |
I guess if git changes the line endings, the checksum could differ |
!!!!! @zkochan we did not! that fixed it! thanks a million |
I don't think it could. And CRLFs are normalized into LFs by the hash function so it should be a problem either. But I don't remember the hash function trimming new lines, so if pnpmfile final newlines were trimmed, it could cause hash difference. |
Oh, it was because the pnpmfiles were different? |
Quick observation though: while this does fix things locally, this will break Render.com builds because the @KSXGitHub yep, we had a custom |
Maybe we could ignore the pnpmfileChecksum check if (or add a new flag, I don't know which is better) |
I think adding a flag makes more sense here since we're having these issues in cases where the Regardless, I believe I found a way to get our
That will allow us to both use The next issue will come when we have more than one frontend package deployed on Render, as we'll then need to duplicate |
If the options are not under your control then how do you expect to use the said flag? |
Ah, that's true :(. We're having a different issue now we're the |
We're thinking about just removing our |
Can you use |
overrides cannot remove dependencies. I think in this scenario it would be OK to ignore the missing pnpmfile. |
If |
We could add a way to remove other types of dependencies using settings. It was already requested once. |
Can and should it be integrated to |
I think that should be fine |
In our local machines:
In our Dockerfile:
The result:
This is also causing build failures in Render.com, which is using the latest version of
pnpm
. According to your release notes it should work with a v6 lockfile, but it's not working with a v9 lockfile. We've never had these issues withpnpm@8
and we can't upgrade to v9 because we can't build our local Docker images.Unsure if it matters, but our machines are Darwin based while our Docker images are Linux. Unsure how you're generating the
pnpmfileChecksum
but if that is dependent on the architecture then it could cause this problem.Originally posted by @divmgl in #7938 (comment)
The text was updated successfully, but these errors were encountered: