mah51 / mikeroph.one

My website, made with NextJS and ChakraUI.
https://mikeroph.one
MIT License
201 stars 24 forks source link

I install '@chakra-ui/react' from chakra official site, but it's not solve yet #26

Closed SANKARAMDAS closed 2 years ago

SANKARAMDAS commented 2 years ago

2022-03-01 (1) 2022-03-01

I tried to solve it through - npm i @chakra-ui/react @emotion/react@^11 @emotion/styled@^11 framer-motion@^4 npm i @chakra-ui/react @emotion/react@^11 @emotion/styled@^11 framer-motion@^5

nut unable to rectify the prob yet.

mah51 commented 2 years ago

Hmm... This could simply be a problem with the typescript interpreter. Try running npm run dev and see if it starts. Additionally try pressing CTRL + SHIFT + P (windows) or CMD + SHIFT + P (mac) and typing in restart ts server and hitting enter, sometimes I find it needs a restart after installing a package or two.

mah51 commented 2 years ago

Also just running npm install in that directory should install all the dependencies by itself

SANKARAMDAS commented 2 years ago

npm run dev- this works for me. Thanks man.