Setup Development Environment
Video Lecture
Install VSCode IDE, Git and Node.js
- VSCode https://code.visualstudio.com/
- Git for Windows (Optional) https://gitforwindows.org/
- Node.js https://nodejs.org/en/download/
Note
Installing Git for Windows is optional. I prefer to use it as the default terminal inside VSCode. If you decide to stay with the default terminal (PowerShell on Windows 10), or other console/terminal software, all console commands demonstrated in the course are most likely to still work anyway.
However, the git clone
command is used in course, so you will at least need to have some kind of git client installed.
Troubleshooting
Since October 4, 2021, NPM versions before version 7, will produce an error stating that TLS 1.2 or higher must be used when installing packages.
If you see TLS related errors when installing packages, try re-installing to the latest LTS version of Node.js by using the official download options on the Node.js website at https://nodejs.org/en/download/
Or, you could try upgrading to the latest version of NPM using the command line,
npm install -g npm
or (depending on your existing version of NPM)
npm install --location=global npm
Then test your version is at least version 7 or higher.
npm -v
#8.12.1
The problem exists since older versions of NPM (I.e., version 6.#.#) would contain registry settings using the http://
protocol, but now they must all be using the https://
protocol instead.