timlrx / tailwind-nextjs-starter-blog

This is a Next.js, Tailwind CSS blogging starter template. Comes out of the box configured with the latest technologies to make technical writing a breeze. Easily configurable and customizable. Perfect as a replacement to existing Jekyll and Hugo individual blogs.
https://tailwind-nextjs-starter-blog.vercel.app/
MIT License
8.45k stars 1.96k forks source link

Gisus comment is not working #842

Closed HackingGate closed 5 months ago

HackingGate commented 7 months ago

Describe the bug

Gisus comment is not working.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://tailwind-nextjs-starter-blog.vercel.app/blog/release-of-tailwind-nextjs-starter-blog-v2.0
  2. Click on 'Load Comments'
  3. See error Uncaught (in promise) ReferenceError: exports is not defined

Expected behavior The Gisus comment componet loads up and user can comment.

timlrx commented 7 months ago

Thanks, able to replicate, seems like the error was introduced over here: https://github.com/timlrx/tailwind-nextjs-starter-blog/pull/838

timlrx commented 7 months ago

Verified that it fails on Next 14.1.0 but works on the previous version 14.0.4. Please downgrade if you are using giscus. Will check on this again when the next release is published and hopefully it will be resolved then.

HackingGate commented 7 months ago

Thanks, I have verified downgrading to Next 14.0.4 fixes the issue on my blog instance.

huykon commented 6 months ago

I have same issue when using the Next v14.1.0. It's working well when downgrade to v14.0.4

sonicoder86 commented 6 months ago

any update on this? i've posted this issue to the Gisqus repository https://github.com/giscus/giscus/issues/1322