progressbar.js icon indicating copy to clipboard operation
progressbar.js copied to clipboard

Cannot read property 'map' of null

Open adriencarbonaro opened this issue 2 years ago • 0 comments

I get this error :

C:\Users\user\project\node_modules\shifty\dist\shifty.node.js:1091
Uncaught TypeError: Cannot read property 'map' of null
    at getFormatChunksFrom (C:\Users\user\project\node_modules\shifty\dist\shifty.node.js:1091)
    at getFormatSignatures (C:\Users\user\project\node_modules\shifty\dist\shifty.node.js:1281)
    at tweenCreated (C:\Users\user\project\node_modules\shifty\dist\shifty.node.js:1440)
    at Tweenable._applyFilter (C:\Users\user\project\node_modules\shifty\dist\shifty.node.js:588)
    at Module.interpolate (C:\Users\user\project\node_modules\shifty\dist\shifty.node.js:1538)
    at Path._calculateFrom (C:\Users\user\project\node_modules\progressbar.js\src\path.js:152)
    at Path._resolveFromAndTo (C:\Users\user\project\node_modules\progressbar.js\src\path.js:145)
    at Path.animate (C:\Users\user\project\node_modules\progressbar.js\src\path.js:94)
    at Circle.animate (C:\Users\user\project\node_modules\progressbar.js\src\shape.js:111)
    at CircleBar.updateProgress (C:\Users\user\project\src\build_js\renderer\components\progress.js:9)

When I try to animate / set a bar :

let bar = new CircleBar("#progressbar");
bar.updateProgress(value);

adriencarbonaro avatar Oct 21 '21 13:10 adriencarbonaro