tailwind-nextjs-starter-blog icon indicating copy to clipboard operation
tailwind-nextjs-starter-blog copied to clipboard

Gisus comment is not working

Open HackingGate opened this issue 5 months ago • 4 comments

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.

HackingGate avatar Feb 03 '24 04:02 HackingGate

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

timlrx avatar Feb 03 '24 06:02 timlrx

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.

timlrx avatar Feb 03 '24 06:02 timlrx

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

HackingGate avatar Feb 03 '24 07:02 HackingGate

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

huykon avatar Feb 06 '24 16:02 huykon

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

sonicoder86 avatar Feb 24 '24 19:02 sonicoder86