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.64k stars 2.01k forks source link

#842 Issue Is the 842 error still the same? #933

Closed Samdasoo1076 closed 3 months ago

Samdasoo1076 commented 3 months ago

#842

I'm trying to use Giscus https://giscus.app/ but I've done all the necessary settings in the repository and installed it in the repository, but I'm getting an error: "giscus is not installed on this repository" works. Next.js version is 14.2.3.

my .env.example

NEXT_PUBLIC_GISCUS_REPO="Samdasoo1076/blog-test" NEXT_PUBLIC_GISCUS_REPOSITORY_ID="R_kgDOMFy0gQ" NEXT_PUBLIC_GISCUS_CATEGORY="General" NEXT_PUBLIC_GISCUS_CATEGORY_ID="DIC_kwDOMFy0gc4Cf6GO" NEXT_PUBLIC_UTTERANCES_REPO= NEXT_PUBLIC_DISQUS_SHORTNAME=

timlrx commented 3 months ago

The current preview blog uses Next.js 14.2.3 so there should not be any issue. Please ensure that you have carried out the following steps:

The repository is public, otherwise visitors will not be able to view the discussion. The giscus app is installed, otherwise visitors will not be able to comment and react. The Discussions feature is turned on by enabling it for your repository.

Samdasoo1076 commented 3 months ago

I tried all the answers you gave me before I posted the issue, but it didn't work Is the surest way to initialize the project?

laymonage commented 3 months ago

You should put those values on Vercel or an .env file, not .env.example. As the name suggests, .env.example is just an example.

Samdasoo1076 commented 3 months ago

oh... thank you i Solved this problem