githubtraining / training-manual

Home of the words in the GitHub Training Manual and teaching scripts.
https://githubtraining.github.io/training-manual
Creative Commons Attribution 4.0 International
267 stars 267 forks source link

jq errors with teach-class script #371

Open Brianbla opened 2 years ago

Brianbla commented 2 years ago

The training-manual scripts ran fine for the last Developer workshop.

Yesterday, I started getting this:

What would you like to do? (Just the number please)
99: Exit
 0: Confirm setup
 1: Create a new caption-this class repository
 2: Add collabs and create files (also makes the repo private)
 3: Grade the day 1 repo
 4: Create conflict repos for each student
 5: Grade the conflict repos
 6: Create the github-games repos for each student
 7: Delete student repos for a specific class
 8: Grade client
4

What is the name of the day 1 repo?

pratice-conflict 

Running script/create-practice-repos

jq: error (at <stdin>:0): Cannot index string with string "login"

jq: error (at <stdin>:0): Cannot index string with string "invitee"

./create-practice-repos: line 65: collaborators[@]: parameter null or not set

I have uninstalled the requirements and reinstalled them. Create 2 new orgs for testing.

I get the same error running the script (#4) on all 3 orgs.

Any thoughts?