Skip to content

No Matching Export In Fs Src App.jsx For Import App -

rm -rf node_modules/.cache

Check your import: import App from './App' is different from import App from './app' . no matching export in fs src app.jsx for import app

If you're accidentally importing from fs instead of a local file: rm -rf node_modules/

"rules": "no-restricted-imports": ["error", "fs", "path", "os"] no matching export in fs src app.jsx for import app

from 'fs' from "fs"

Removed the fs alias from Vite config and changed the import to import App from './App' .