wevm / frog

Framework for Farcaster Frames 🐸
https://frog.fm
Other
414 stars 93 forks source link

NextJS QuicksStart Template Issues #469

Closed gigabit-eth closed 1 month ago

gigabit-eth commented 1 month ago

Describe the bug

I am running the NextJS quick start terminal command 'npm init frog -- -t next' and not getting the desired output.

There are a number of issues when trying to get this particular template up and running with just the command mentioned above.

You must pull a few steps from the manual installation as well to get it functioning as intended.

The Minimal Reproducible Example linked has these changes implemented as described below in the Steps To Reproduce.

Link to Minimal Reproducible Example

https://github.com/gigabit-eth/froggy-next-boiler

Steps To Reproduce

Frog Version

0.15.9

TypeScript Version

"typescript": "^5"

Check existing issues

Anything else?

No response

dalechyn commented 1 month ago

Hey, @gigabit-eth!

Going step by step to reproduce your issue:

Head to http://localhost:5173/dev It's actually running on localhost:3000 because of Nextjs

When npm init frog -- -t next is run, a correct port is shown Screenshot 2024-08-10 at 23 47 43

The app also runs and I can't see a 404 error when http://localhost:3000/api/dev is visited. Are you sure it's running on port 3000?

The only issue I saw is that title is not set which could have been a problem with the latest package rollout.

I'm also not quite sure what are the exact issues that you're experiencing – steps to reproduce look like a mix of problems & text from the docs, can you please re-format them? Thank you!