Open davorbu opened 1 year ago
bro might be you dont installed the package of react-tilt
I search and search where I got stuck and I managed to solve the problem before I saw your answer. Thank you so much Adrian. I like your style how you working, and this is great!!
You are from Zagreb or?
no i am tauqeer
hey! can you assign me this. I would like to work on this
i already work all code is working
Okay!
Let's close this issue if it is already working. Thanks!
How did you resolve this error?
How did you resolve this error?
"npm install react-tilt"
The problem is that react-tilt is not installed properly.
npm install react-parallax-tilt import Tilt from 'react-parallax-tilt'; replace // import Tilt from "react-tilt"; your code will working fine and please mark the issue solved
npm install react-parallax-tilt import Tilt from 'react-parallax-tilt'; replace // import Tilt from "react-tilt"; your code will working fine and please mark the issue solved
issue solved
i have problem with same issue what can i do for this i installed npm install react-tilt but it got me this error Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/react-tilt.js?t=1694334760740&v=a57d4cb8' does not provide an export named 'default' (at About.jsx:2:8)
nope not working tried but not working white screen with: Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/react-tilt.js?t=1694334760740&v=a57d4cb8' does not provide an export named 'default' (at About.jsx:2:8)
error in console log
nope not working tried but not working white screen with: Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/react-tilt.js?t=1694334760740&v=a57d4cb8' does not provide an export named 'default' (at About.jsx:2:8)
error in console log
i have problem with same issue what can i do for this i installed npm install react-tilt but it got me this error Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/react-tilt.js?t=1694334760740&v=a57d4cb8' does not provide an export named 'default' (at About.jsx:2:8)
to the last 2 commenters, as indicated in the responses above use npm install react-parallax-tilt and change the import.
Failed to resolve import "react-tilt" from "src\components\About.jsx". Does the file exist?
D:/myportfolio/src/components/About.jsx:2:17 15 | } 16 | import React from "react"; 17 | import Tilt from "react-tilt"; | ^ 18 | import { motion } from "framer-motion"; 19 | import { styles } from "../styles"; at formatError (file:///D:/myportfolio/node_modules/vite/dist/node/chunks/dep-ca21228b.js:41418:46) at TransformContext.error (file:///D:/myportfolio/node_modules/vite/dist/node/chunks/dep-ca21228b.js:41414:19) at normalizeUrl (file:///D:/myportfolio/node_modules/vite/dist/node/chunks/dep-ca21228b.js:39706:33) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TransformContext.transform (file:///D:/myportfolio/node_modules/vite/dist/node/chunks/dep-ca21228b.js:39840:47) at async Object.transform (file:///D:/myportfolio/node_modules/vite/dist/node/chunks/dep-ca21228b.js:41685:30) at async loadAndTransform (file:///D:/myportfolio/node_modules/vite/dist/node/chunks/dep-ca21228b.js:39479:29 Click outside or fix the code to dismiss. You can also disable this overlay by setting server.hmr.overlay to false in vite.config.js.