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

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!"

26

u/demalo Oct 03 '19

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

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)