Open pranavv444 opened 1 year ago
Getting the same issue : Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/react-tilt.js?v=0855d810' does not provide an export named 'default' (at About.jsx:2:8)
What is the solution now?
I found the solution: Stackoverflow
1- Uninstall the package with:
2- Then reinstalled it with:
3- Then in the imports of About.jsx and Works.jsx change
to
4- Run
Alright , I will try it rn. And will let you know if that worked or not.
Bro , it worked!! Thanx @Hmmza-tariq ..Cheeres bro!
I found the solution: Stackoverflow
1- Uninstall the package with:
npm uninstall react-tilt
2- Then reinstalled it with:
npm install react-tilt
3- Then in the imports of About.jsx and Works.jsx change
import Tilt from "react-tilt";
to
import { Tilt } from "react-tilt";
4- Run
npm run dev
It worked!!! Thank you
I made the correct changes to my code, but still getting the white screen
There is no error showing and the code is all correct but still it is showing white screen. I don't know what is the problem. If someone know pls help.