vercel / virtual-event-starter-kit

Open source demo that Next.js developers can clone, deploy, and fully customize for events.
https://demo.vercel.events
MIT License
2.14k stars 430 forks source link

Speakers Cannot Be Created/Slug cannot Be Changed #92

Open solomonshalom opened 2 years ago

solomonshalom commented 2 years ago

Hi!

First, I got to say the template is just so good for event managers and developers to spin up something quickly for an event, which is very helpful! but I am facing an error in DatoCMS. The issue lies in the speaker section, as I cannot create a new speaker. As in, I can create a speaker but when I click on the speaker, it shows up as a 404 error "Page Not Found". Please check this video

I am not sure what's causing it, but I can't seem to change existing slugs either. Your help would be wonderful!

@leerob @Deep-Codes

With Warm Regards, Solomon Shalom Lijo

Deep-Codes commented 2 years ago

Hey, it Seems to be working now.

Screenshot 2022-08-05 at 12 18 42 PM

Also, wait for 60secs for the new /[speaker] slug to build.

https://github.com/vercel/virtual-event-starter-kit/blob/438076b4fd235c39177944220131499e2e84bcb5/pages/speakers/%5Bslug%5D.tsx#L61

Docs for that.

solomonshalom commented 2 years ago

Hey, it Seems to be working now.

Screenshot 2022-08-05 at 12 18 42 PM

Also, wait for 60secs for the new /[speaker] slug to build.

https://github.com/vercel/virtual-event-starter-kit/blob/438076b4fd235c39177944220131499e2e84bcb5/pages/speakers/%5Bslug%5D.tsx#L61

Docs for that.

Hi!

I did wait for some time, first for 60 seconds then for a few hours but it still didn't work :((

vinckr commented 2 years ago

You need to rebuild the page. Idk what CMS you are using but I add a new speaker in DatoCMS and then it already shows up in the /speakers list but the route is 404. I then hit "Build now" in DatoCMS and when the page is built the route for speakers works.