We will use this package Ironlauncher to setup our code like we did the past week.
Note: Mac Installation is also the same as Windows. If you get erros don't panic. Relax, read the error, search online for a fix. Read the last part of this document for possible errors and fixes
- Install the package
- Windows: Run the command
npm install -g ironlauncher
in your PowerShell anywhere. - Mac: Run the command
sudo npm install -g ironlauncher
in your terminal / iterm
- Windows: Run the command
(Since we're installing the package globally in our machine it does not matter where you run this command)
- Once installed go to your
module2
project folder and run the following command
an example of that would be :ironhack <ProjectName>
ironhack learning-axios
If everything works well you will see this structure
Open this in VSCode and run npm run dev
or npm start
Note: You do not need to install packages. It's already installed. So please don't run npm install
again
Follow this link to fix errors in windows or mac