最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to downgrade Deno - Stack Overflow

programmeradmin3浏览0评论

Using Aleph with Deno found a bug, with the inpatible versions and I need to downgrade. How I can downgrade the deno version from 1.8.1 to 1.6.3 without uninstalling it?

Using Aleph with Deno found a bug, with the inpatible versions and I need to downgrade. How I can downgrade the deno version from 1.8.1 to 1.6.3 without uninstalling it?

Share Improve this question edited Feb 12, 2022 at 16:07 cobrexus 4,8065 gold badges24 silver badges49 bronze badges asked Mar 18, 2021 at 8:45 Stefano Di CeccoStefano Di Cecco 1011 silver badge9 bronze badges 0
Add a ment  | 

3 Answers 3

Reset to default 14

You can use deno upgrade mand 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 mand.

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

发布评论

评论列表(0)

  1. 暂无评论