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
Deno 1.43.0 fails hard upon encountering lockfile with no integrity
field.
#23586
Comments
integrity
field.
Thanks for the report. How did you get that Deno version? Did you compile from source? |
@nberlette was the lockfile generated with jsr specifiers several months ago? That was a purposeful breaking change because JSR specifiers hadn't really landed yet and the data in the lockfile wasn't properly locked. You'll have to recreate the lockfile in this case. |
Ah, I just re-read the details. Yeah, that's just because JSR specifiers were in 1.40, but still under development. I wouldn't recommend using jsr specifiers with an older deno version. |
@bartlomieju I just ran @dsherret I didn't even think about that aspect that 1.40.0 landed prior to the JSR launch... thank you for pointing that out! Funnily enough, the lockfile didn't even exist before the tests I ran, and it actually never should have as the deno.json file has |
Well, this seems to be quite an edge case now 😅 I can't imagine too many other people running into this scenario. I'll wait a little bit (in case anyone has more to add) before I close this out. Thanks guys. |
Attempting to use the REPL on v1.43.0 in a subfolder of a project that I just ran tests on using Deno v1.40.0. I'm greeted with the following error:
error: Unable to parse contents of lockfile. /Users/nb/work/.../deno.lock: missing field `integrity`
Seems rather brittle and backwards-incompatible :/
The text was updated successfully, but these errors were encountered: