This is due to version compatibility issues. For me what worked is i upgraded the React to version "react": "^18.3.1" and downgraded chakra to version "@chakra-ui/react": "^2.10.3". Doing this worked magic for me. I am giving the installation command below: (i) npm i @chakra-ui/react @emotion/react @emotion/styled framer-motion --installs the latest version (ii) npm install @chakra-ui/react@2 - downgrades it to version 2