Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix git config error #626

Open
jcandan opened this issue Jan 27, 2025 · 2 comments
Open

Fix git config error #626

jcandan opened this issue Jan 27, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@jcandan
Copy link

jcandan commented Jan 27, 2025

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Open VSCode into a blank folder
  2. Run CodeRoad: Start
  3. Choose File, and upload a tutorial.json file
  4. Hit Start on the tutorial
  5. See the Git Config Error page
  6. Open terminal, and in this empty project folder, run git init
  7. Click Check Again
  8. Refreshes, but the error is still there.
  9. Close the VSCode window.
  10. Re-open the project folder.
  11. 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

Image

Image

Image

Image

Image

Image

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

@jcandan
Copy link
Author

jcandan commented Feb 5, 2025

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.

@jcandan
Copy link
Author

jcandan commented Feb 10, 2025

Here are the steps to actually get a working tutorial locally.

  1. Open an empty folder in VS Code
    mkdir empty-project1
    code empty-project1
  2. Run "CodeRoad: Start" from the Command Pallete.
  3. Click "Start New Tutorial"
  4. Choose URL, and supply a tutorial.json URL (e.g. https://raw.githubusercontent.com/.../refs/heads/main/tutorial.json)
  5. Open terminal, and in this empty project folder, run git init.
  6. Click "Start" at the bottom of the tutorial window

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants