I m running React js project with default vite configuration,
current working directory is:
componentsmarketing
- Hero.jsx
- About.jsx
- Moreinfo.jsx
- Cards.jsx
All those individual components im exporting from index.jsx.
eg: export { default as Hero } from ‘./Hero’
export { default as About } from ‘./About’;
suddenly vite crashing with error message of:
Uncaught SyntaxError: The requested module ‘/src/components/ContactUs/Cards.jsx?t=1714559296929’ does not provide an export named ‘default’ (at AboutUs.jsx:2:8)
Once app crashed and i m restarting the vite and then working fine, sometimes it was again etc.