Search Fix Guides

11 result(s) for "Cannot find module"

API Endpoint Type Mismatch After Cursor TypeScript Update

After Cursor refactored your API endpoint code, TypeScript errors report type mismatches between client requests and server responses. The endpoint signature...

cursor api

Blank Page After Deploy to Vercel/Netlify

Your app works perfectly in development but shows a blank white page after deploying to Vercel or Netlify. No errors in the browser console, just whitespace....

bolt deployment

Build Command Broken After Cursor Project Reorganization

The npm run build or similar build command now fails after Cursor reorganized your project files. The build pipeline is looking for files in the wrong locati...

cursor deployment

Cursor-Generated Unit Tests Failing Immediately

You asked Cursor to generate unit tests for your code, but the tests fail immediately when you run them. The failures range from import/module resolution err...

cursor testing

Dockerfile Missing System Dependencies in Windsurf Project

Your Windsurf-generated Dockerfile builds fail or the container crashes at runtime because system-level dependencies are missing. Node.js native modules like...

windsurf integration

GitHub Import Missing Files on Replit

You imported a GitHub repository into Replit, but the project is incomplete. Some files and directories are missing, the app will not start, and you see erro...

replit integration

Import Paths Broken After File Reorganization

After Cursor moved or reorganized your source files, many import statements are broken. The build fails because modules can't be found or import paths are in...

cursor api

Next.js API Routes Not Testable in Unit Tests

Your v0-generated Next.js API routes cannot be unit tested because they are tightly coupled to the Next.js request/response objects, database connections, an...

v0 testing

Vercel Edge Runtime Import or Module Error

Your Vercel Edge function or middleware throws 'Cannot find module' or 'Unsupported module' errors in production, even though local development works. Edge r...

v0 deployment

Vite Path Aliases Not Resolving in Build

Import aliases work in development (@/components) but fail in production build. Build fails with 'cannot find module' errors. Aliases not recognized by TypeS...

lovable deployment

Webpack Configuration Broken After Edit

After Cursor refactored your webpack configuration, the build process fails with syntax errors or configuration errors. The webpack config is malformed. The ...

cursor deployment