Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't even use the search function on your website. #539

Open
W4ddl3 opened this issue Aug 31, 2023 · 11 comments
Open

Can't even use the search function on your website. #539

W4ddl3 opened this issue Aug 31, 2023 · 11 comments

Comments

@W4ddl3
Copy link

W4ddl3 commented Aug 31, 2023

Description

I noticed that your project has a search button in the navigation bar. I wanted to test its functionality and found that it doesn't work. It keeps loading in a circle. I initially thought it was my own problem, but when I tested it on your website, I found that it also doesn't work.

Notion Test Page ID

I'm not actually doing my own project right now, just testing it in your website

Shot 2023-08-31 at 17 36 41@2x

@omarcostahamido
Copy link
Contributor

same here. I just arrived to this project now (late to the party) and would love to be able to see this in action or figure out how to fix it... maybe worthwhile mentioning the previous issues as well.

@danni-cool
Copy link

danni-cool commented Oct 17, 2023

I fixed the problem temporarily, and wrote an article, if you are interested, here's the link. https://danni.cool/2023/10/17/Fixed%20the%20broken%20search%20in%20nextjs-notion-starter-kit/

@omarcostahamido
Copy link
Contributor

@danni-cool thank you very much for writing a blog entry about it! Btw, your website looks cool 😄

@danni-cool
Copy link

@omarcostahamido Thanks! I was struggling with the same problem too. I'm glad it could help.

@Le1a
Copy link

Le1a commented Mar 28, 2024

我暂时解决了这个问题,并写了一篇文章,如果你有兴趣,这里是链接。https://danni.cool/fixed-the-broken-search-in-nextjs-notion-starter-kit

I built it using Vercel+GitHub. I put your patch into GitHub and tried running it again using Vercel, but it still didn't work. I checked the network and found that it was 405 Method Not Authorized
image
image

@danni-cool
Copy link

@Le1a Have you ever installed patch-packages using NPM and added the pre-install hooks?

@Le1a
Copy link

Le1a commented Apr 1, 2024

@Le1a Have you ever installed patch-packages using NPM and added the pre-install hooks?

No, because I don't know how to use the npm command in the GitHub project deployed in Vercel

@danni-cool
Copy link

@Le1a So you already know how to solve the problem.

@Le1a
Copy link

Le1a commented Apr 3, 2024

@Le1a So you already know how to solve the problem.

How to solve this problem in Vercel

@Le1a
Copy link

Le1a commented Apr 3, 2024

@Le1a Have you ever installed patch-packages using NPM and added the pre-install hooks?

It has been resolved. I found in Vercel that the install command can be entered during project construction. Enter npm i patch package -- legacy peer deps&&npm i -- legacy peer deps
image

@danni-cool
Copy link

danni-cool commented Apr 3, 2024

@Le1a 🎉Congratulations! you made it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants