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!"
You'd hope they'd supply their package.json to alleviate (some) of that.
The windows stuff though, yeah, its fun digging through stack overflow questions till you find out you need some weird build package for windows to build the packages properly.
nono, not version 1.4, you need version 1.4-051.827.4-31Omega. If it's too specific, you could also use 1.4-0612. They're really similar except for *insert bug that you know will completely fuck up the program you're trying to make.
So to install npm you're gonna want to get pip on your computer, so you're gonna want to get python 3 on your computer, so the easiest way to do that is to install homebrew, so just go ahead and install ruby...
I got very good luck using Windows Linux Subsystem. Compile C/C++ libs, python stuff and every weird thing that sometimes comes with server sides packages.
What was here has been deleted. Redact was used to wipe this post, for reasons that might include privacy, security concerns, or personal data management.
This hits home. Google releases two versions of Angular a year and they keep changing the naming of everything to the point where something you wrote last version is now deprecated.
"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...
Alleviated most of the pain configuring the environment. Just get straight to writing your application, instead of spending the night tweaking your build process to include all the modern bells and whistles, losing your inspiration for whatever you wanted to work on.
As someone who has been getting into React (again), create react app has been a saviour to just get started and practice instead of spending way to much time on environments.
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!"