-
Notifications
You must be signed in to change notification settings - Fork 14
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
Syntax error on yarn.lock
#18
Comments
Looks like a incompatibility issue between lock file formats. I see you use Yarn v3, I haven't tested the I see that the format has been changed since the version 1, and doesn't even look like it is compatible with the This is unfortunate and I don't really know how I can help here more that just say please use the Yarn Classic. May I ask, why do you use Yarn v3? |
@blaggacao for yarn 3 you might want to try https://github.com/madjam002/yarnpnp2nix |
yarn replaced checksum is the sha512 hash of the npm package repacked into a zip archive yarnpnp2nix solves this by caching the zip archives produced by yarn } else if (willOutputBeZip) {
// simple, use the hash of the zip file
const checksum = project.storedChecksums.get(pkg.locatorHash)
if (checksum != null) {
outputHash = checksum.substring(checksum.indexOf('/') + 1) // first 2-3 characters before slash are like a checksum version that yarn uses, we can discard
} else {
outputHash = null
}
outputHashByPlatform = null
return problem: its a waste of disk space see also |
On this PR's HEAD inside the
direnv
-loaded devshell:Could you help solve this? I'd be delighted to boost adoption across our teams.
Alternatively, reproduce with:
nix eval "github:input-output-hk/cardano-js-sdk?ref=refs/pull/721/head#env"
The text was updated successfully, but these errors were encountered: