Skip to content
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

use lock file version 2 rather than 3 in latest deno version? #20795

Closed
alita-moore opened this issue Oct 4, 2023 · 5 comments
Closed

use lock file version 2 rather than 3 in latest deno version? #20795

alita-moore opened this issue Oct 4, 2023 · 5 comments

Comments

@alita-moore
Copy link

As is described here: supabase/cli#1584 the recent upgrade in lockfile version seems to be blocking me. Is there a way to tell deno to use version 2 instead for now? Downgrading deno seems to be more trouble than its worth.

@nayeemrmn
Copy link
Collaborator

It should auto update if you deno cache your project entrypoint.

@alita-moore
Copy link
Author

alita-moore commented Oct 12, 2023

I mean to use lockfile 2 instead of lockfile version 3. Is that possible? But if I run deno cache it does auto update to version 3, but I'd like to prevent that behavior as version 3 is causing bugs.

@nayeemrmn
Copy link
Collaborator

It's not possible to use v2. It's a shame to hear about the bugs, please report them. There's one related to stale npm dependencies that we know of: #20868 (comment)

@dsherret
Copy link
Member

There's one related to stale npm dependencies that we know of: #20868 (comment)

That is unrelated to lockfile v3.

@dsherret
Copy link
Member

@alita-moore sorry, no there's no way to do this and it would be infeasible to add an API for this. I believe supabase needs to update their deno_lockfile version (https://crates.io/crates/deno_lockfile), which should be an easy update. I'll comment on that other issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants