wevm / frog

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

nextjs frog boilerplate error #358

Closed neXus1987 closed 3 months ago

neXus1987 commented 3 months ago

Describe the bug

when starting the attached repo i get following error while clicking a fruit: nextjs-boilerplate-main.zip

POST /api/dev/api/frames/http%3A%2F%2Flocalhost%3A3000%2Fapi%3FinitialPath%3D%25252Fapi%26previousButtonValues%3D%252523A_apples%25252Coranges%25252Cbananas/action 500 in 11ms

TypeError: schema._run is not a function at safeParseAsync (webpack-internal:///(rsc)/./node_modules/valibot/dist/index.js:5216:32) at eval (webpack-internal:///(rsc)/./node_modules/@hono/valibot-validator/dist/esm/index.js:12:81) at eval (webpack-internal:///(rsc)/./node_modules/hono/dist/validator/validator.js:79:23) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async dispatch (webpack-internal:///(rsc)/./node_modules/hono/dist/compose.js:34:17) at async eval (webpack-internal:///(rsc)/./node_modules/frog/_lib/dev/api.js:56:9) at async dispatch (webpack-internal:///(rsc)/./node_modules/hono/dist/compose.js:34:17) at async eval (webpack-internal:///(rsc)/./node_modules/frog/_lib/frog-base.js:742:13)

Link to Minimal Reproducible Example

No response

Steps To Reproduce

No response

Frog Version

0.11.7

TypeScript Version

No response

Check existing issues

Anything else?

No response

neXus1987 commented 3 months ago

following version is working with this setup: "frog": "0.11.6",