-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RangeError: Maximum call stack size exceeded on build after installing @nivo/radial-bar": "^0.83.0 #2353
Comments
@plouc Hey I hope it's ok I'm tagging you, appreciate your effort, |
Same issue here with compiling with tsc. Works fine with webpack devserver but fails when with tsc. Will need to look to another lib for now... |
@LironHazan, I don't know what could cause that, it would need to be investigated. |
Thanks, I'm looking into more charts of Nivo, will update if see more issues of if I'll have a lead of the root cause |
@plouc impressive work on the make file! :) |
This looks to be introduced somewhere in version 0.81.0.
Compile properly, though additional type dev dependencies need to be added in:
Bumping |
@Xantier I can't downgrade, it causes other conflicts in the project Pie Chart |
The errors seems to be coming from |
Thank you 😊 The type checking is done via
Initially |
Here is a minimal reproduction: https://github.com/Xantier/nivo-ts-stackoverflow |
Flipping around version on the minimal reproduction, this actually looks to work on |
Hi, same issue here. I have debugged In fact, when you look at it there is a loooooot of import stuff from Can you see a quick fix or workaround for this? 😬 |
Unfortunately downgrading nivo/packages/arcs/src/centers.ts Lines 54 to 72 in 2671ca4
Maybe if you can type the |
Same issue here: nivo/packages/arcs/src/useArcsTransition.ts Lines 21 to 39 in 2671ca4
|
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
bump |
The issue is still there. For anyone interested, I deleted the types folder before running the tsc and it works. |
Bump. This issue is prevent us from using Nivo. |
@plouc This issue still exists even for |
I am also having the same issue, i noticed that when i delete the "keys" prop, the chart get displayed with empty y-axis data. but if i remove any other prop it still gives me the error en breaks the applications. In that case it might have something to do with the keys prop. This issue is quite blocking and should be fixed asap, since the point of this library is to show big sets of data. |
Hey!
I just started to use Nivo :) and not sure why, but after installing:
@nivo/radial-bar": "^0.83.0"
I cannot bundle to prod with vite, getting a tsc error,
it didn't happen when installed
"@nivo/line": "^0.83.0",
I also have
using typescript version: "typescript": "^4.5.4",
npm 8.19.3 + node v16.19.1
Will really appreciate any advice
The text was updated successfully, but these errors were encountered: