You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running a React application, so I included the package using yarn add pixl-canvas-plus.
However, when I try to make an instance of the module using var canvasPlus = new CanvasPlus(), I get an error with the following message:
TypeError: process.hrtime is not a function
I believe this is because I am not running on Node.js, but instead running on Chrome.
There seems to be some dependencies that will only work with Node.js.
Any ideas on how to go around this issue? I tried out the demo, and really like it, so it would be awesome if I could actually get it to work in my application.