palerdot / react-d3-speedometer

React Speedometer component using d3.js ⚛️
https://palerdot.in/react-d3-speedometer/
MIT License
232 stars 58 forks source link

`v1.x` / `React v17` local development issue #148

Closed palerdot closed 2 years ago

palerdot commented 2 years ago

When I was installing the npm I react-d3-speedometer it gave an error What can I do?

error1

Originally posted by @IsAmitprajapati in https://github.com/palerdot/react-d3-speedometer/issues/144#issuecomment-1181712869

palerdot commented 2 years ago

@IsAmitprajapati

You are trying to install v1.x which is for react v17. If you want to install for v18 use next tag like

npm install react-d3-speedometer@next

PS: Please open a new issue for local development setup problems. This issue is for informational purposes only.

palerdot commented 2 years ago

@IsAmitprajapati

PS: I have created a new issue for your local dev problem. Please use this for tracking this issue.

palerdot commented 2 years ago

@IsAmitprajapati

If you are still facing issues, please post more details on what react version you are targeting. I will reopen if needed.