deno_blog is broken
Hi! Not sure if deno_blog is still maintained since it's last commit was 3 months ago, but there's an error I'm encountering.
I used this command to create my blog:
and then ran
deno task serve
to start the local development server. However, it throws an error:
I am using the latest version of Deno. Can anyone help me with this? Thanks!7 Replies
Read the error message:
deno_blog
uses x/emoji, which uses assert
instead of with
in the import of ./all.json
. In other words, x/emoji needs to be fixed.Well how do I fix x/emoji? It's not like I can just edit the source code right
Because I'm importing the entire blog code through
You’ll have to submit a pull request with x/emoji
you can use "vendor": true in deno.json for now and patch the dependencies while you or someone else fix upstream
That too!
See the workaround solution here
https://github.com/denoland/deno_blog/issues/149#issuecomment-2557028522
GitHub
Unable to Run in Dev · Issue #149 · denoland/deno_blog
It seems that the url being returned by callsites()[1].getFileName() in blog.tsx:109 doesn't include the 'file://', and is preventing fromFileUrl from parsing it correctly... deno task ...
Now I'm having an issue with "unable to fetch blog from remote url". I've tried the solution which involves changing deno versions, even tried building from source but it dosn't seem to work.