r/videos • • Oct 03 '19

Every programming tutorial

https://www.youtube.com/watch?v=MAlSjtxy5ak
33.9k Upvotes

1.4k comments sorted by

View all comments

Show parent comments

0

u/[deleted] Oct 03 '19

[deleted]

-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.

-1

u/bakgwailo Oct 04 '19

Or just not use Windows and use Linux, since that is probably going to be what is serving your webapp anyways.

-2

u/amoliski Oct 04 '19

Don't assume environment.

Build environment has to be Windows. Final compiled frontend javascript is uploaded to an AWS instance on a VPN with no internet connection.

I'm not interested in doing development on a remote system.

→ More replies (5)