You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run the frog command from the docs npm init frog -- -t next and it creates a project, cd into it, npm install, then push to vercel immediately. It fails to deploy. running "yarn build" or "npm run build" locally then produces this error:
Type error: Argument of type '{ assetsPath: string; basePath: string; }' is not assignable to parameter of type 'FrogConstructorParameters<Env, "/" | "/api", unknown>'.
Property 'title' is missing in type '{ assetsPath: string; basePath: string; }' but required in type 'Required<Pick<FrameResponse, "title">>'.
5 | import { handle } from 'frog/next'
6 |
> 7 | const app = new Frog({
| ^
8 | assetsPath: '/',
9 | basePath: '/api',
10 | // Supply a Hub to enable frame verification.```
Adding a title in to the App declaration fixes the issue. May need to update the install script.
### Link to Minimal Reproducible Example
https://frog.fm
### Steps To Reproduce
Defined above
### Frog Version
0.15.2
### TypeScript Version
5.5.3
### Check existing issues
- [X] I checked there isn't [already an issue](https://github.com/wevm/frog/issues) for the bug I encountered.
### Anything else?
_No response_
The text was updated successfully, but these errors were encountered:
it looks like they were all added 4 days ago but the scripts when you run them to create frog aren't pulling in titles (I did a fresh run for next.js today)
Describe the bug
run the frog command from the docs
npm init frog -- -t next
and it creates a project, cd into it, npm install, then push to vercel immediately. It fails to deploy. running "yarn build" or "npm run build" locally then produces this error:The text was updated successfully, but these errors were encountered: