danfojs icon indicating copy to clipboard operation
danfojs copied to clipboard

fraction.js imported from mathjs causes error

Open cr305MSFT opened this issue 2 years ago • 3 comments

it seems that the mathJS version you import 9.4.4 does not specify a specific version of fraction.JS and this is causing an error with fraction.js

can you please reference mathJS version 11.11.0

this whole issue with fraction.JS caused this to break

thanks

cr305MSFT avatar Sep 06 '23 15:09 cr305MSFT

Same issue here. Any Updates ?

gereonreus avatar Oct 10 '23 08:10 gereonreus

Hi, I found the same problem, I solved it by overwriting the danfojs dependencies.

The problem comes from the mathjs library, which has the caret in the fraction.js dependency.

How do I override nested NPM dependency versions

Add in package.json

"overrides": {
    "danfojs": {
      "fraction.js": "4.2.0"
    }
}

And reinstall node_modules

nonodev96 avatar Oct 23 '23 14:10 nonodev96

A big thank you @nonodev96! you probably just saved me a day of torture.

steve7734 avatar Dec 14 '23 06:12 steve7734