training-manual icon indicating copy to clipboard operation
training-manual copied to clipboard

jq errors with teach-class script

Open Brianbla opened this issue 3 years ago • 0 comments

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?

Brianbla avatar Aug 01 '22 21:08 Brianbla