#13 most commonbuildv0CursorWindsurfReplitBolt.new
Module not found: Can't resolve '...' / Cannot find module
Module not found: Can't resolve '@/lib/utils' / Error: Cannot find module 'xyz' or its corresponding type declarations.
Got a slightly different error? Paste the exact message and get a fix prompt tailored to it.
Paste your error →What it means
Your code refers to a file or package that can't be found. Like a recipe that says 'see page 42' when page 42 was torn out.
How to fix it: paste this prompt into your AI builder
Fix prompt for Bolt, Cursor, Replit, v0, Windsurf
My build fails with "Module not found / Cannot find module". For the exact module in the error: if it's an npm package, install it and add it to package.json dependencies; if it's a local path, fix the import to the file's real location and exact casing, and check that path aliases like @/ are configured in tsconfig/jsconfig and the bundler. Search for other imports of the same missing module. Only fix the imports/dependencies involved.
If the AI can't fix it: manual steps
- If it works locally but fails on Vercel/Netlify, check the file name casing: Linux servers treat Button.tsx and button.tsx as different files.
- Make sure package.json and the lock file were committed/pushed.
Where this happens
Seen in these AI app builders and editors:
v0CursorWindsurfReplitBolt.new
Sources
Related build errors
Still stuck? Paste your full error and UnstuckMyVibe will match it and hand you the exact fix prompt.
Fix my error →