Fix git config error
Opened this issue · 2 comments
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Open VSCode into a blank folder
- Run CodeRoad: Start
- Choose File, and upload a tutorial.json file
- Hit Start on the tutorial
- See the Git Config Error page
- Open terminal, and in this empty project folder, run
git init - Click Check Again
- Refreshes, but the error is still there.
- Close the VSCode window.
- Re-open the project folder.
- Run CoadRoad: Start
At this point, the first lesson is visible
Expected behavior
The instructions don't say anything about having to run git init.
Either, update the instructions in plugin documentation and website, or prevent the error from blocking usage.
Screenshots
Desktop (please complete the following information):
- Platfrom: Windows 11 Version 23H2 (OS Build 22631.2861)
- OS: Ubuntu via WSL2
- Version 24.04.1
Node (please complete the following information):
- Version v20.18.2
Git (please complete the following information):
- Version 2.43.0
Additional context
N/A
This ticket, in conjunction with #629, may need a title and scope adjustment.
There are a couple conflicting items in play here:
- Must be an empty folder
- Must be a git project
Additionally documented above is: the Check Again button is not working.
Here are the steps to actually get a working tutorial locally.
- Open an empty folder in VS Code
mkdir empty-project1
code empty-project1 - Run "CodeRoad: Start" from the Command Pallete.
- Click "Start New Tutorial"
- Choose URL, and supply a tutorial.json URL (e.g. https://raw.githubusercontent.com/.../refs/heads/main/tutorial.json)
- Open terminal, and in this empty project folder, run
git init. - Click "Start" at the bottom of the tutorial window





