Skip to content

Conversation

@DylanDevelops
Copy link
Contributor

@DylanDevelops DylanDevelops commented Aug 1, 2022

Checklist:

Closes freeCodeCamp/freeCodeCamp#47115

I was having some trouble getting code road installed via the mac terminal. I have no idea how to fix this and I was a little confused by the instructions. I fixed this typo. In the guide, it said something about running the command coderoad build but I can't run this command as coderoad will not install on my system. If someone can help me out it might make it easier but if I did everything right then perfect.

@gikf
Copy link
Member

gikf commented Aug 2, 2022

Hey @DylanDevelops

unfortunately using CodeRoad cli is required step. The TUTORIAL.md file is more a human-readable version, the .json file generated by cli does the actual work when tutorial is running.

Were you getting any specific error?

@DylanDevelops
Copy link
Contributor Author

DylanDevelops commented Aug 2, 2022

I figured it out! All I had to do was add sudo in front of my npm install line and it worked. I guess my computer didn't want to install because of permission stuff. I believe I updated both files now.

My last question was about the branches. In the guide, it said I needed to make a copy of the latest version branch and I don't know how to do that. I just made a branch called typo fix but I don't know if that is okay like it is in the main freecodecamp repository.

@gikf
Copy link
Member

gikf commented Aug 2, 2022

All is good now. The version branch (vX.X.X) is needed to be present locally, as it's also used by the coderoad cli. This is unrelated to the name of the branch for the PR. You must have figured it out, as generating json went well.

Copy link
Member

@gikf gikf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Thanks for fixing the another typo as well.

@gikf gikf merged commit a6ab7bb into freeCodeCamp:main Aug 2, 2022
@DylanDevelops DylanDevelops deleted the typofix branch August 2, 2022 06:50
moT01 pushed a commit to moT01/learn-bash-scripting-by-building-five-programs that referenced this pull request Feb 5, 2024
…mp#22)

* Update TUTORIAL.md

* Update TUTORIAL.md

* Update tutorial.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Learn Bash Scripting By Building Five Programs

2 participants