Closed CHIRAG-DAMANI-08 closed 6 months ago
i keep getting this error even though my utils file is present [plugin:vite:import-analysis] Failed to resolve import "../utils" from "src/components/Navbar.jsx". Does the file exist? C:/Users/Chirag Damani/React Projects/apple_website/src/components/Navbar.jsx:1:54 15 | window.$RefreshSig$ = RefreshRuntime.createSignatureFunctionForTransform; 16 | } 17 | import { appleImg, bagImg, searchImg } from "../utils"; | ^ 18 | import { navLists } from "../constants"; 19 | const Navbar = () => {
found it , i just had to move the utils folder into the src folder !!!
i keep getting this error even though my utils file is present [plugin:vite:import-analysis] Failed to resolve import "../utils" from "src/components/Navbar.jsx". Does the file exist? C:/Users/Chirag Damani/React Projects/apple_website/src/components/Navbar.jsx:1:54 15 | window.$RefreshSig$ = RefreshRuntime.createSignatureFunctionForTransform; 16 | } 17 | import { appleImg, bagImg, searchImg } from "../utils"; | ^ 18 | import { navLists } from "../constants"; 19 | const Navbar = () => {