one-aalam / astro-ink

Crisp, minimal, personal blog theme for Astro
https://astro-ink.vercel.app
MIT License
556 stars 93 forks source link

Issues with fresh install - TweetEmbed #37

Closed alejandronanez closed 1 year ago

alejandronanez commented 1 year ago

Hey @one-aalam 👋 Thank you for creating this project!

I'm new to Astro, so please take this with a grain of salt. I just cloned and installed this repo, and everything was working fine (the homepage loads fine, and the navigation works, too) until I tried to render an article. I'm seeing this error.

CleanShot 2023-04-03 at 20 38 38@2x

I'm assuming I haven't configured things properly. Again, I've been using Astro for just 10 minutes 😅. I'll keep on looking to see what could be happening here.

alejandronanez commented 1 year ago

huh, this seems to be happening in the demo version as well 🤔

https://astro-ink.vercel.app/blog/introducing-astro-2

@one-aalam I'm unsure how to help, but I'm happy to; just let me know 🙌 .

I'm stepping away from this for now as I don't have enough understanding of how Astro works to make a fix in a reasonable amount of time today.

one-aalam commented 1 year ago

👋 Hi, @alejandronanez

Thanks for reporting this. Let me find out the root cause and fix this!

one-aalam commented 1 year ago

Hi @alejandronanez You shouldn't have this issue anymore if you'll have a .env file at the root of your app, with the SITE_URI configured to something like SITE_URI=http://localhost:3000. There's a views counter which needs this configuration. You can find more about the feature by finding "View counter feat. Redis/Upstash Redis " on the README page.

alejandronanez commented 1 year ago

thanks @one-aalam! I'll take a look at this tonight! 🙏

I'm closing this in the meantime and will reopen if necessary.