+ 1
Error while installing primer react.
Error while installing primer react I am installing primer react with react@18.2.0 with @primer/react@35.5.0 but facing following Errors image Ss:https://user-images.githubusercontent.com/77089227/181682948-0d87aed1-ffe1-40b6-8105-c2a0f9f57c1f.png To Reproduce Steps to reproduce the behavior: Create react app npm install @primer/react installing primer react Expected behavior Primer react should be installed without any conflicts
1 Answer
0
If your project is empty and you wanna start it, delete this files and create new one following this quide:
https://primer.style/react/getting-started
Primer React requires the following libraries to be installed along with it:
styled-components at version 4.0.0 or higher
react at versions 17.x or higher
react-dom at versions 17.x or higher
Check this to learn how to upgrade npm packages, if you have every package installed, maybe thay are not at right version:
https://docs.npmjs.com/updating-packages-downloaded-from-the-registry