Yegór Karimov
Yegór Karimov
DDeno
Created by Yegór Karimov on 4/24/2025 in #help
LTS 2.1.12 Deno generates `deno.lock` with version 5.
OK guys! SOLVED. It was a problem with VS Code which I restarted and it now uses LTS version very well and autogenerated lock files has version 4. Silly, but annoying issue. hope it helps someone else too. So, the solution: 1. Downgrade to LTS deno upgrade lts; 2. Run deno clean just in case in the root of project; 3. Restart VS Code: — Close VS Code so it is not automatically updating the lock file; — Remove deno.lock; — Start VS Code — Generated lock file must be OK.
3 replies