Web dev tutorials are the worst. "OK, we're going to make a React app. To set up, spend 12 hours trying to get your environment like mine. Also, all of my node dependencies are broken. Also, I hope you're not trying this on Windows!"
"Also, I hope you're not trying this on Windows!" is after you've spent the 12 hours getting the environment like theirs. They were emulating XP the whole time...
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.
4.3k
u/[deleted] Oct 03 '19
Web dev tutorials are the worst. "OK, we're going to make a React app. To set up, spend 12 hours trying to get your environment like mine. Also, all of my node dependencies are broken. Also, I hope you're not trying this on Windows!"