deno_blog icon indicating copy to clipboard operation
deno_blog copied to clipboard

How to change the dependency package version

Open YASH-GOSARA opened this issue 1 year ago • 3 comments

I'm trying out this repo, but when I run deno task dev, it gives me a warning about the emoji package not being the latest version. The latest version is 0.3.1, but the deno.lock file shows 0.3.0 for the remote import.

How can I update this dependency version?

image image

Deno version: deno 1.46.3 (stable, release, x86_64-pc-windows-msvc)

YASH-GOSARA avatar Sep 25 '24 11:09 YASH-GOSARA

This happens for me as well, and starting with Deno 2.0.0 it causes the process to fail. @denoland Please be cautious bumping Deno Deploy to 2.0.0 as it will cause our deno_blog based sites to crash.

As mentioned above, denosaurs/emoji v0.3.1 contains the fix (released Sep 9).

tdharris avatar Oct 10 '24 02:10 tdharris

I too am not being able to use my deno blog in localhost, but works fine when deployed.

anuragpoolakkal avatar Oct 16 '24 08:10 anuragpoolakkal

I faced the same issue and latest commit of this repository contains correct version imports of gfm^0.10.0 but there is no new version released yet to point new changes in deno.land. So you need to import deno code from github manually until new version released. You need to import latest commit manually and add if any old version exist tell deno to force to point new gfm version like comment below:

Below solution worked for me to update gfm version and url errors. ✅ my setup: deno 2.1.4 (stable, release, aarch64-apple-darwin).
Solution.

alperreha avatar Dec 20 '24 13:12 alperreha