Build Five Programs - Build Five Programs

Tell us what’s happening:

Hello
The coderoad stopped working by the end of the workshop. Resetting didn’t help and a new terminal is giving an error. The task is completed on the 6th line of the script. Could you help me find out what is wrong here?

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:147.0) Gecko/20100101 Firefox/147.0

Challenge Information:

Build Five Programs - Build Five Programs

Can’t see your prompt in the screenshot.

Did you try to close the terminal and click ‘reset’?

The task is to write something on the script, on the 6th line, you can see. I did not use the terminal for this task. I resetted the codespace and closed and started a new terminal. The new terminal looks as in the screenshot. There is a problem. What could it be??

Maybe the problem is about this .mocharc.json file?

For this task I would change the echo lines in the if loop. But the suggested command is as you see and copied to my script.

please still try to use the reset button, give it a moment to reset, and then follow again the instructions

how many times can I reset? I did two more times just now and it is not working

the reset button should always work, if it’s not working anymore maybe your environment broke

I reset the coderoad, it works, but it does not let me pass the task.

The script is running on terminal. But terminal points out a problem with many lines: no such file or directory. I am above 90% to finish this workshop.

Here is a printscreen again. This time showing that the script can run in terminal.

Hello, there!? I need help to continue with your education program. Or I will have to stop half way after competing workshops and assignments. This is really unacceptable.

if it’s not working anymore you may need to create a new workspace

are you working locally? or on codespace?

I don’t know how to do that and not lose what is already created. I’m on codespace.

Unfortunately I don’t know of a way to do that

i think there is a workaround we can try but I need to see what is in the broken file from a clean workspace

here’s a copy of the missing file .cwd.
When you create it, make sure it is in the correct spot in .freeCodeCamp/test
and make sure it is copied with the empty line at the bottom.

/workspace/project
/workspace/project
/workspace/project
/workspace/project
/workspace/project
/workspace/project
/workspace/project/.freeCodeCamp
/workspace/project/.freeCodeCamp
/workspace/project/.freeCodeCamp/test
/workspace/project/.freeCodeCamp/test
/workspace/project/.freeCodeCamp/test
/workspace/project/.freeCodeCamp/test
/workspace/project/.freeCodeCamp/test
/workspace/project/.freeCodeCamp/test
/workspace/project/.freeCodeCamp/test

here is also a copy of the missing .next_command file. (Again make sure to include the blank line at the bottom)

builtin unset VSCODE_INJECTION
[ -z "$VSCODE_SHELL_INTEGRATION" ]
[ "${VSCODE_PREVENT_SHELL_HISTORY:-}" = "1" ]
[ -n "${VSCODE_ENV_REPLACE:-}" ]
[ -n "${VSCODE_ENV_PREPEND:-}" ]
[ -n "${VSCODE_ENV_APPEND:-}" ]
[ -z "${VSCODE_PYTHON_AUTOACTIVATE_GUARD:-}" ]
export VSCODE_PYTHON_AUTOACTIVATE_GUARD=1
[ -n "${VSCODE_PYTHON_BASH_ACTIVATE:-}" ]
__vsc_regex_environment="^CYGWIN*|MINGW*|MSYS*"
[[ "$(uname -s)" =~ $__vsc_regex_environment ]]
__vsc_is_windows=0
__vsc_regex_histcontrol=".*(erasedups|ignoreboth|ignoredups).*"
[[ "${HISTCONTROL:-}" =~ $__vsc_regex_histcontrol ]]
__vsc_history_verify=1
builtin unset __vsc_regex_environment
builtin unset __vsc_regex_histcontrol
__vsc_initialized=0
__vsc_original_PS1="$PS1"
__vsc_original_PS2="$PS2"
__vsc_custom_PS1=""
__vsc_custom_PS2=""
__vsc_in_command_execution="1"
__vsc_current_command=""
__vsc_nonce="$VSCODE_NONCE"
unset VSCODE_NONCE
__vsc_stable="$VSCODE_STABLE"
unset VSCODE_STABLE
[ "$__vsc_stable" = "0" ]
[ -n "$STARSHIP_SESSION_KEY" ]
[ -n "$POSH_SESSION_ID" ]
builtin printf '\e]633;P;HasRichCommandDetection=True\a'
[[ -n "${bash_preexec_imported:-}" ]]
__vsc_dbg_trap="$(__vsc_get_trap DEBUG)"
[[ -z "$__vsc_dbg_trap" ]]
[[ "$__vsc_dbg_trap" != '__vsc_preexec "$_"' && "$__vsc_dbg_trap" != '__vsc_preexec_all "$_"' ]]
trap '__vsc_preexec_all "$_"' DEBUG
__vsc_original_prompt_command=${PROMPT_COMMAND:-}
echo hello bash
touch questionnarie.sh
rm questionnarie.sh
touch questionnaire.sh
sh questionnaire.sh
cd .freeCodeCamp/
ls --color=auto
cd test
ls --color=auto
cd 1390.test.js
ls --color=auto -la
cd .cwd
more .cwd
code .cwd
ls --color=auto
ls --color=auto -la
more .next_command
code .next_command

maybe after you create the two missing files you can try the Run button.
(but it may not be enough to fix the broken environment. Usually i see this happens when people press the Reset button without waiting for it to fully complete the reset and they click Run or or Reset again)

Tell us what’s happening:

Hello
This is a second post about the same problem. Now I understand this is the problem called “test runner failed”. I read former posts about it and tried all advises. The test runner is still not working and I am above 90% to finish this workshop. I won’t start from the beginning again, so I’m curious if you have any solution.
There is a .mocharc.json with a red exclamation mark between the files I created. A reset-orphan-branch is mentioned in git output as wrong.

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:148.0) Gecko/20100101 Firefox/148.0

Challenge Information:

Build Five Programs - Build Five Programs

I went ahead and combined your posts for you. In the future, just reply to the original thread to add further updates.

Sorry, I’ve recognized these msgs later than I created a new topic. So I’m back here. Are you suggesting to add these lines, with an empty line in the bottom, into the terminal? As two separate commands?