You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And so it begins! 🧙🏼♂️ This Learning Lab has a single prerrequisite for you to be able to go through it: node. And also yarn. Oh, and also an internet connection. And a beverage of your choosing, I will pick coffee. ☕️
If you have never used Node.js before, don't worry, we'll include all the necessary steps for you to take, and guide you along the way.
But you may also be able to get it through your package manager of choice:
on Debian-based Linuxes systems that would look like apt-get install node,
on macOS with Homebrew it would look like brew install node,
on Windows with Choco it looks like choco install nodejs.install
But either way, you can just go to the website above, download the installer, and get it set up in a few clicks.
Step 0.1 — Install Yarn 🧶
Since this course makes some assumptions on the yarn tool, we will need to install it.
You can run npm install --global yarn to get the latest version of yarn globally available, and you
can verify that you have yarn installed by running yarn --version.
If you haven't done this before, we recommend @github's guide on Cloning Repositories. It is super short and will get you started.
Go to the project folder in your computer and check out the setup branch.
cd my-reason-react-app
git checkout setup
Run yarn to install all necessary dependencies:
yarn
NOTE: installing dependencies sometimes can take a while and sometimes can fail because the internet is not perfect. If you have any trouble, please try again. If it still doesn't work, tweet at us @SRC_technology and we'll try to help! 🙏
After the installation is completed, you will have 1 new file (yarn.lock) and 1 new folder (node_modules). Make sure to add the yarn.lock file with git, commit it, and push your changes. You can do that by running:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Setup
And so it begins! 🧙🏼♂️ This Learning Lab has a single prerrequisite for you to be able to go through it:
node. And alsoyarn. Oh, and also an internet connection. And a beverage of your choosing, I will pick coffee. ☕️If you have never used Node.js before, don't worry, we'll include all the necessary steps for you to take, and guide you along the way.
Now let's cover those prerrequisites, shall we?