Error shown with the semantic UI installation using npm install
how to solve this?
The error might have arisen due to version conflicts.
Try this:
npm i semantic-ui-react semantic-ui-css --legacy-peer-deps