Home/Tools/Vite Import Path Checker

Vite Import Path Checker

Check a failing Vite import against a pasted project-file inventory, aliases and dependencies to catch exact-case, missing-file, alias and package problems locally.

Nothing is uploaded. Paste file paths, not source code or secrets.

Resolver input

Add the failing import and a file inventory to begin.

What this checker proves

It simulates common Vite/Rollup resolution checks against only the inventory you provide: relative paths, project-root paths, simple aliases, common source extensions, index files, exact filename case, and bare package declarations. It can prove an exact match in the paste or identify a specific mismatch.

What it cannot prove

It does not execute Vite, read your repository, inspect package exports, run plugins, or reproduce the deployment environment. A resolved result means the pasted inventory is internally consistent—not that every plugin transform will succeed.

Get a file inventory

git ls-files --cached --others --exclude-standard | sort

Review the list before pasting it. Remove private filenames if necessary. For monorepos, use paths relative to the workspace root that runs Vite.

Detailed fix guide

Rollup failed to resolve import in Vite/Vercel: decision guide →

Primary references