Clothing-Ecommerce-Shop-In-React-JSON-Server icon indicating copy to clipboard operation
Clothing-Ecommerce-Shop-In-React-JSON-Server copied to clipboard

Getting error while running in local

Open subhamNIT opened this issue 1 year ago • 1 comments

Below is the error that I am getting while running in local. Please help. [plugin:vite:css] [postcss] Object.hasOwn is not a function /Users/subhamgupta/Documents/Repos/ecom-6/Clothing-Ecommerce-Shop-In-React-JSON-Server/node_modules/react-toastify/dist/ReactToastify.css at /Users/subhamgupta/Documents/Repos/ecom-6/Clothing-Ecommerce-Shop-In-React-JSON-Server/node_modules/daisyui/src/theming/functions.js:73:19 at Array.forEach (<anonymous>) at Object.convertColorFormat (/Users/subhamgupta/Documents/Repos/ecom-6/Clothing-Ecommerce-Shop-In-React-JSON-Server/node_modules/daisyui/src/theming/functions.js:44:27) at /Users/subhamgupta/Documents/Repos/ecom-6/Clothing-Ecommerce-Shop-In-React-JSON-Server/node_modules/daisyui/src/theming/functions.js:187:41 at Array.forEach (<anonymous>) at Object.injectThemes (/Users/subhamgupta/Documents/Repos/ecom-6/Clothing-Ecommerce-Shop-In-React-JSON-Server/node_modules/daisyui/src/theming/functions.js:182:28) at mainFunction (/Users/subhamgupta/Documents/Repos/ecom-6/Clothing-Ecommerce-Shop-In-React-JSON-Server/node_modules/daisyui/src/index.js:64:43) at registerPlugins (/Users/subhamgupta/Documents/Repos/ecom-6/Clothing-Ecommerce-Shop-In-React-JSON-Server/node_modules/tailwindcss/lib/lib/setupContextUtils.js:815:61) at createContext (/Users/subhamgupta/Documents/Repos/ecom-6/Clothing-Ecommerce-Shop-In-React-JSON-Server/node_modules/tailwindcss/lib/lib/setupContextUtils.js:1221:5) at getContext (/Users/subhamgupta/Documents/Repos/ecom-6/Clothing-Ecommerce-Shop-In-React-JSON-Server/node_modules/tailwindcss/lib/lib/setupContextUtils.js:1278:19) at /Users/subhamgupta/Documents/Repos/ecom-6/Clothing-Ecommerce-Shop-In-React-JSON-Server/node_modules/tailwindcss/lib/lib/setupTrackingContext.js:118:81 at /Users/subhamgupta/Documents/Repos/ecom-6/Clothing-Ecommerce-Shop-In-React-JSON-Server/node_modules/tailwindcss/lib/processTailwindFeatures.js:46:11 at plugins (/Users/subhamgupta/Documents/Repos/ecom-6/Clothing-Ecommerce-Shop-In-React-JSON-Server/node_modules/tailwindcss/lib/plugin.js:38:69) at LazyResult.runOnRoot (/Users/subhamgupta/Documents/Repos/ecom-6/Clothing-Ecommerce-Shop-In-React-JSON-Server/node_modules/postcss/lib/lazy-result.js:329:16) at LazyResult.runAsync (/Users/subhamgupta/Documents/Repos/ecom-6/Clothing-Ecommerce-Shop-In-React-JSON-Server/node_modules/postcss/lib/lazy-result.js:258:26) at LazyResult.async (/Users/subhamgupta/Documents/Repos/ecom-6/Clothing-Ecommerce-Shop-In-React-JSON-Server/node_modules/postcss/lib/lazy-result.js:160:30) at LazyResult.then (/Users/subhamgupta/Documents/Repos/ecom-6/Clothing-Ecommerce-Shop-In-React-JSON-Server/node_modules/postcss/lib/lazy-result.js:404:17 Click outside, press Esc key, or fix the code to dismiss. You can also disable this overlay by setting server.hmr.overlay to false in vite.config.js.

image

subhamNIT avatar May 13 '24 02:05 subhamNIT