Next.js Discord

Discord Forum

Cannot build using Bun

Unanswered
American Goldfinch posted this in #help-forum
Open in Discord
American GoldfinchOP
I'm getting this error on all api routes inside app router.

app/api/ai/create-criteria/route.ts
Type error: Operator '<' cannot be applied to types 'boolean' and '{ GET: FunctionConstructor; HEAD: FunctionConstructor; OPTIONS: FunctionConstructor; POST: FunctionConstructor; ... 12 more ...; maxDuration: any; }'.

0 Replies