You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a project folder. Inside that folder I ran npx create-react-app react-app. After installation completed, I cd into the react-app and ran: npm install @chakra-ui/react. I also tried npm install @chakra-ui/core. Both commands started the install meter then stopped and gave this error:
I'm getting the same error.
I'm pretty new to js but I think it has to do with the fact that chakra-ui needs to work with React 16 even though React 17 is the default install.
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! Could not resolve dependency:
npm ERR! peer react@"16.x" from [email protected]
npm ERR! node_modules/chakra-ui
npm ERR! chakra-ui@"*" from the root project
Looks like Chakra-ui has gotten stale. Not sure if the project is still active as there hasn't been a commit since 2019.
I created a project folder. Inside that folder I ran npx create-react-app react-app. After installation completed, I cd into the react-app and ran: npm install @chakra-ui/react. I also tried npm install @chakra-ui/core. Both commands started the install meter then stopped and gave this error:
npm WARN ERESOLVE overriding peer dependency
npm ERR! Cannot read property 'length' of undefined
I am not sure if this is a bug or which peer dependency this is referring to. I haven't made any modifications to the react app directory.
The text was updated successfully, but these errors were encountered: