Having some trouble installing @chakra-ui
and integrating it with Next.js. No matter how many times I uninstall and reinstall, it just won't cooperate.
After running
npm i @chakra-ui/react @emotion/react@^11 @emotion/styled@^11 framer-motion@^6
, the installation process seemed to go smoothly without any errors. However, when attempting to use import {} from '@chakra-ui/react'
, an error message pops up:
Cannot find module '@chakra-ui/react' or its corresponding type declarations.