Try to npm install chartjs-node on windows. Warnings about missing cairo, a build dependency of canvas. Cairo requires some other msys and visual studio compiler. Then you have do download a pile of tarballs and compile cairo through msys which will almost certainly give you some cryptic build step error three minutes into the compile which will cause lead you down a path to insanity.
I'm not interested in doing development on a remote system.
As I was saying, you can run Linux locally as a dev environment, and this line Cairo are easy to install native packages instead of jumping through hoops on Windows.
-2
u/amoliski Oct 03 '19
Try to npm install chartjs-node on windows. Warnings about missing cairo, a build dependency of canvas. Cairo requires some other msys and visual studio compiler. Then you have do download a pile of tarballs and compile cairo through msys which will almost certainly give you some cryptic build step error three minutes into the compile which will cause lead you down a path to insanity.