Yarrow

Fixes

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

'vite' is not recognized as an internal or external command (or vite: command not found)

#170

'vite' is not recognized as an internal or external command, operable program or batch file.

vitenodewindowsNo reports yet

ReferenceError: process is not defined (Vite / browser)

#169

Uncaught ReferenceError: process is not defined

vitereactNo reports yet

[vite] Internal server error: Failed to resolve import. Does the file exist?

#168

[plugin:vite:import-analysis] Failed to resolve import "@/components/Button" from "src/App.tsx". Does the file exist?

vitereacttypescriptNo reports yet

Tailwind v4: Cannot apply unknown utility class (@apply)

#167

Error: Cannot apply unknown utility class: bg-primary

tailwindviteNo reports yet

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

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

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)

Browser: blocked by CORS policy: No 'Access-Control-Allow-Origin' header (your own API)

#132

Access to fetch at 'http://localhost:4000/api/items' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

javascriptexpressviteNo reports yet

Supabase: supabaseUrl is required

#127

Error: supabaseUrl is required.

supabasenextjsviteNo reports yet

Vercel: 404 NOT_FOUND when refreshing a page in a React Router / single-page app

#125

404: NOT_FOUND Code: NOT_FOUND

vercelreactviteNo reports yet

Vercel: No Output Directory named "dist" found after the Build completed

#124

Error: No Output Directory named "dist" found after the Build completed. You can configure the Output Directory in your Project Settings.

vercelviteNo reports yet

Tailwind v4: trying to use tailwindcss directly as a PostCSS plugin

#121

[postcss] It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install `@tailwindcss/postcss` and update your PostCSS configuration.

tailwindvitepostcssNo reports yet

Vite: import.meta.env.MY_KEY is undefined (env var needs the VITE_ prefix)

#120

import.meta.env.API_URL is undefined

vitereactNo reports yet

TS6133: 'x' is declared but its value is never read (build fails on an unused import)

#92

error TS6133: 'b' is declared but its value is never read.

typescriptviteVerifiedNo reports yet

TS1484: 'User' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled

#91

error TS1484: 'User' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.

typescriptviteVerifiedNo reports yet

TS2307: Cannot find module './logo.svg' or its corresponding type declarations

#90

error TS2307: Cannot find module './logo.svg' or its corresponding type declarations.

typescriptviteVerifiedNo 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