Im having an issue getting through step two on my Mac. - 2. Open a terminal, navigate to the rdb-alpha
directory, and open VS Code with code .
I navigate as directed and follow the command but I just get back “command not found”.
Am I supposed to open docker and follow this directive or use the terminal app?
Hi @PurpleSm3rf !
Welcome to the forum!
I am also using a mac and the code .
command didn’t work for me either.
But you can just open up visual studio code manually, by clicking on the vs code icon.
Then you can click on the explorer icon, and open up the folder there.
Once you open up the folder in vs code, then go over to your docker desktop app to open it.
You will probably see something like this.
Then go back to VS code and use the Cmd + Shift + P
to open up the command palette.
Choose the Remote-Containers: Rebuild and Reopen in Container
You will probably see something like this at the bottom of the screen.
It will probably take a few minutes.
Once it is finished go to the Docker app and you should see a new running container there.
Go back to VS code, run Cmd + Shift + P
and choose the CodeRoad:Start option
Now you should see this open up.
Click on start new tutorial
Choose the url option, and paste the link for the first lesson.
here is the first lesson link.
https://raw.githubusercontent.com/freeCodeCamp/learn-bash-by-building-a-boilerplate/main/tutorial.json
Then click on load
You should see this
On the bottom right hand side of the screen, click on the start button
Then click on terminal to open up a terminal in vs code
Type in the first command and hit enter.
If it doesn’t register, then you might have to exit out of the terminal and open up a new terminal again
Type in exit like this and hit enter
Open up the terminal again and run the echo hello terminal
command again and it should register this time.
Sometimes, when you start a new course, it doesn’t register right away.
If that happens, just exit out of the terminal and open it up again.
From there everything should work fine.
Hope all of that made sense!
In order to open VSCode with code .
, you need to add it to your PATH
variable. You will then need to close your terminal instance and restart it.
Thank you jwilkins.oboe!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.