Using Aleph with Deno found a bug, with the incompatible versions and I need to downgrade.
How I can downgrade the deno version from 1.8.1
to 1.6.3
without uninstalling it?
How to downgrade Deno
Asked Answered
You can use deno upgrade
command with specified version for upgrade or downgrade the deno.
deno upgrade --version 1.6.3
I use dvm
(an alternative to node's nvm) to have various deno versions installed (for aleph.js
). One can easily switch the version using dvm use VERSION
command.
dvm use 1.8.2
upgrade/downgrade :
deno upgrade --version 2.0.0
after upgrading you might need to reload the lock cache
with --write-lock
param
or manually remove them
rm deno.lock
for monorepos
find . -name "deno.lock" -type f -delete
© 2022 - 2024 — McMap. All rights reserved.