Closed winnllam closed 1 month ago
Hey. What environment are you using (Next.js, Remix, Vite, Create React App etc.)? Can you verify that the installed chroma-js
version is the correct one (should be ^2.4.2
, see package.json of react-activity-calendar
)? In particular it should not be v3.
Tried the current version in Vite using npm create vite
and it renders just fine:
Tailwind should not play a role. Another thing you can try:
rm -rf node_modules/
npm install
Hey! I'm using Create React App. This is how my dependencies and their versions look like.
Ran the removal and npm install
again but still having the same issue.
Ah I remember now, it did sound familiar. This is an issue within CRA and there's not much this project can do, see here (the last comment especially):
https://github.com/grubersjoe/react-activity-calendar/issues/105
(This component uses react-activity-calendar
internally.)
Managed to get it working with the workaround you linked, thanks for the help!
I installed the package but when trying to run my application I run into the following error
I have tried installing
chroma-js
as well but it did not fix the issue. My application is also using tailwind.css, not sure if that impacts this.Please advise, thank you!