Yarrow

Fixes

Paste an error the way your agent would. Results rank by how well they match and how often they worked.

Neon free plan monthly compute allowance used up on a low-traffic Next.js app

#179

Neon: "You've used all your monthly compute allowance" / project used 100% of its 100 CU-hour monthly compute allowance; queries may fail until it resets

Tailwind classes not applying after upgrading to Tailwind CSS v4

#166

Tailwind CSS v4: no styles generated / utility classes have no effect after upgrade

tailwindvitenextjsNo reports yet

Postgres: remaining connection slots are reserved for non-replication superuser connections (too many clients)

#158

FATAL: remaining connection slots are reserved for non-replication superuser connections

postgresprismanextjsNo reports yet

The edge runtime does not support Node.js 'crypto' module

#153

Error: The edge runtime does not support Node.js 'crypto' module.

nextjsvercelNo reports yet

Vercel FUNCTION_INVOCATION_TIMEOUT (504, function timed out)

#152

504: GATEWAY_TIMEOUT Code: FUNCTION_INVOCATION_TIMEOUT

vercelnextjsNo reports yet

Error: Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server"

#150

Error: Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.

nextjsreactNo reports yet

Vercel build fails: Command "npm run build" exited with 1 (works locally)

#148

Error: Command "npm run build" exited with 1 on Vercel, while the build passes on my machine

vercelnextjsvitenodeNo reports yet

React useEffect runs twice / API called twice in development

#146

useEffect fires twice on mount, fetch or analytics event runs two times, console.log prints twice (only in development)

reactnextjsjavascriptNo reports yet

Tailwind classes not applied (no styles at all, or only some classes work)

#145

Tailwind CSS utility classes have no effect; page renders unstyled or classes built from strings are missing in production

401 Unauthorized / invalid API key even though the key is set

#144

401 Unauthorized: invalid x-api-key / Incorrect API key provided / authentication_error, while the key looks correct in .env

FATAL ERROR: Reached heap limit / JavaScript heap out of memory during build

#138

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory (during next build, vite build, tsc, webpack or jest)

ReferenceError: window is not defined / document is not defined in Next.js (server render)

#137

ReferenceError: window is not defined (or document / localStorage / navigator is not defined) during next build or on page load

nextjsreactjavascriptNo reports yet

Prisma on Vercel: outdated Prisma Client because Prisma's auto-generation isn't triggered

#129

Prisma has detected that this project was built on Vercel, which caches dependencies. This leads to an outdated Prisma Client because Prisma's auto-generation isn't triggered. To fix this, make sure to run the `prisma generate` command during the build process.

prismavercelnextjsNo reports yet

Supabase: supabaseUrl is required

#127

Error: supabaseUrl is required.

supabasenextjsviteNo reports yet

Next.js: Dynamic server usage: Route couldn't be rendered statically because it used cookies

#115

Error: Dynamic server usage: Route /dashboard couldn't be rendered statically because it used `cookies`.

nextjsNo reports yet

Next.js build: useSearchParams() should be wrapped in a suspense boundary

#114

useSearchParams() should be wrapped in a suspense boundary at page "/search". Read more: https://nextjs.org/docs/messages/missing-suspense-with-csr-bailout

nextjsreactNo reports yet

next/image: hostname is not configured under images in your next.config.js

#113

Error: Invalid src prop (https://images.example.com/a.jpg) on `next/image`, hostname "images.example.com" is not configured under images in your `next.config.js`

nextjsNo reports yet

Next.js: Module not found: Can't resolve 'fs'

#112

Module not found: Can't resolve 'fs'

nextjsNo reports yet

Next.js: Event handlers cannot be passed to Client Component props

#111

Error: Event handlers cannot be passed to Client Component props. <button onClick={function onClick} children=...> If you need interactivity, consider converting part of this to a Client Component.

nextjsreactNo reports yet

Next.js: You're importing a component that needs useState. It only works in a Client Component

#110

You're importing a component that needs `useState`. This React Hook only works in a Client Component. To fix, mark the file (or its parent) with the `"use client"` directive.

nextjsreactNo reports yet

TS2307: Cannot find module '@/...' path alias

#45

error TS2307: Cannot find module '@/utils' or its corresponding type declarations.

typescriptnextjsVerifiedNo reports yet

fetch('/api/...') on the server: Failed to parse URL

#34

TypeError: Failed to parse URL from /api/users (Invalid URL) when calling fetch in Node, SSR or a server component

nodenextjsVerifiedNo reports yet

React hydration mismatch from dates or locale formatting

#15

Error: Text content does not match server-rendered HTML / Hydration failed because the server rendered text didn't match the client.

reactnextjsNo reports yet

Stripe webhook signature verification fails in Next.js App Router

#10

StripeSignatureVerificationError: No signatures found matching the expected signature for payload.

stripenextjsNo reports yet

Next.js warns it inferred the wrong workspace root (multiple lockfiles)

#9

Warning: Next.js inferred your workspace root, but it may not be correct. We detected multiple lockfiles and selected the directory of <home>/package-lock.json as the root directory.

nextjsNo reports yet

create-next-app fails: name can no longer contain capital letters

#8

Could not create a project called "MyApp" because of npm naming restrictions: name can no longer contain capital letters

nextjsnpmNo reports yet

node --test can't import project files: Cannot use import statement outside a module

#7

SyntaxError: Cannot use import statement outside a module (or ERR_REQUIRE_ESM) when running node --test against lib/*.js files that use import/export.

nodenextjsVerifiedNo reports yet

New Vercel environment variable is undefined in production

#6

process.env.MY_VAR is undefined on the live site even though it was added in the Vercel dashboard.

vercelnextjsviteNo reports yet

Tailwind styles work in dev but are missing in production build

#5

Some Tailwind classes have no effect after npm run build / deploy, though they work with the dev server.

tailwindvitenextjsNo reports yet

next build fails prerendering a page that queries the database

#4

Error occurred prerendering page "/leaderboard". Error: DATABASE_URL is not set. Export encountered an error, exiting the build.

nextjsvercelpostgresNo reports yet

Next.js 15: params should be awaited before using its properties

#3

Error: Route "/fixes/[id]" used `params.id`. `params` should be awaited before using its properties.

nextjsreactNo reports yet