Sometimes when you type
learn, you may get the following message:
[14:11:45] code // ♥ learn You don't appear to be in a Learn lesson's directory. Please cd to an appropriate directory and try again.
You are getting this message because you are not in the top level directory of the lab. In this example, we can see that I am in the
code directory rather than in a lab directory like
If you are familiar with the
cd command, you can use that to navigate to the correct location. If you're not familiar with the
cd command, then simply head on back to the lab page on learn.co and press the Open button again to get moved back to your lab directory!