Codespaces Nonsense - Coderoad Error

This note about CodeSpaces is baffling:

Clicking the button below will start a new project. If you have previously started the Build a Database of Video Game Characters course, go to the repository page to re-open a previous workspace.Learn more about Codespace workspaces.

This is seen at:

There’s no clue on the repository page about how to re-open a previous workspace, and the help link sheds no light.

When I do get into a codespace through connecting to the active “freeCodeCamp/rdb-alpha - friendly computing-machine” codespace, it’s not obvious I’m there, it’s not obvious when it’s ready, and the CodeRoad: Start command yields an error:

command ‘coderoad.start’ not found

Got any better clues?

1 Like

I have to admit the entire process with Codespaces + Coderoad does make me feel rather stupid. I have a Codespace where I half-finished the World Cup Database project. Now I can’t connect to the database:

psql: error: could not connect to server: Connection refused
Is the server running locally and accepting
connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432”?

Can’t restart the coderoad course:

“Oops!

Select An Empty VSCode Workspace

Start a project in an empty folder.

Once selected, the extension will close and need to be re-started.”

And can’t find any relevant information or help on what to do in the situation. I can copy my unfinished scripts into a new Codespace, but then I’d have to recreate all the tables and relationships between them, and I’d rather not. There’s quite possibly a way to solve this within the VSCode instance, but it’s not at all clear how to do so.

Would it be possible to get some more information on what to do in these cases added to the Codespaces/Coderoad instructions? In general I find them rather frustrating and unintuitive to use. Database stuff seems a rather slow and labourious process and having to throw out half my work would only make it more so.