If you cannot find the bad import anywhere, but the error persists, you can force the bundler to ignore fs :
Or search within node_modules :
Modern IDEs (VS Code, WebStorm) offer auto-import suggestions. If you type App and hit "quick fix," the IDE might suggest importing from fs if: no matching export in fs src app.jsx for import app
// src/app.jsx import App from './App'; // Local component // or import App from './components/App'; If you cannot find the bad import anywhere,
// src/app.jsx import App from './App'; // Named import but the error persists
If you're trying to import a component that doesn't export properly: