coderoad-vscode icon indicating copy to clipboard operation
coderoad-vscode copied to clipboard

URGENT RESOLVE "Test Runner Failed" error when I try to run freeCodeCamp tutorial(working on gitpod) in my local VSCode

Open Deo-Code-UG opened this issue 7 months ago • 2 comments

Am new here and to programming and trying to work on this project locally/offline

Image

on my laptop https://www.freecodecamp.org/learn/relational-database/learn-advanced-bash-by-building-a-kitty-ipsum-translator/build-a-kitty-ipsum-translator

I have failed to get Coderoad to read/work in my VS code on my laptop . when I press Run it simply says Test Runner Failed.

At least twice it has worked when I went to Ctrl + Shift + P then Developer: Window. then it would move onto the next instruction.

apart from those 2 times , any other time I try it simply refreshes everything except code road which I have then to relauch and of course nothing would have changed..

i have read the other articles from as early as last year but seems so far no success with anyone.. Somebody please help..

Image

Deo-Code-UG avatar May 15 '25 09:05 Deo-Code-UG

Am using VS Code and Coderoad on my laptop and not Gitpod

Deo-Code-UG avatar May 15 '25 09:05 Deo-Code-UG

i have installed the actual CodeRoad extension inside VS Code. and done all the following Install the CodeRoad VS Code Extension:

Open VS Code.

Go to the Extensions tab on the left (or press Ctrl+Shift+X).

Search for CodeRoad.

Click Install on the coderoad extension (publisher: coderoad).

Restart VS Code.

Open your project folder again (if not already):

You’ve already done this with code ., which is great.

You should be inside the learn-advanced-bash-by-building-a-kitty-ipsum-translator directory.

Run the Tutorial:

Press Ctrl+Shift+P to open the Command Palette.

Type CodeRoad: Start Tutorial.

Select the tutorial.json you added (if it doesn’t auto-detect).

CodeRoad should now start and show a step-by-step tutorial pane inside VS Code.

since i actually dont need to install npm since it comes with code road and is already existent on my machine, i have run coderoad in my vs code, and uploaded file tutorial.json

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY (master) $ git clone https://github.com/freeCodeCamp/learn-advanced-bash-by-building-a-kitty-ipsum-translator.git Cloning into 'learn-advanced-bash-by-building-a-kitty-ipsum-translator'... remote: Enumerating objects: 5330, done. remote: Counting objects: 100% (700/700), done. remote: Compressing objects: 100% (62/62), done. remote: Total 5330 (delta 666), reused 638 (delta 638), pack-reused 4630 (from 1)Receiving objects: 100% (5330/5330), 644.0 Receiving objects: 1

Resolving deltas: 100% (2507/2507), done.

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY (master) $ cd learn-advanced-bash-by-building-a-kitty-ipsum-translator

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $ ls -a ./ ../ .freeCodeCamp/ .git/ .gitignore .gitpod.yml .vscode/ CHANGELOG.md coderoad.yaml tutorial.json TUTORIAL.md

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $ echo hello bash hello bash

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $ node --version v22.15.1

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $ npm --version 10.9.2

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $ ls node_modules/ # Linux/Mac/Git Bash ls: cannot access 'node_modules/': No such file or directory

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $ dir node_modules # Windows CMD dir: cannot access 'node_modules': No such file or directory

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $ touch kitty_ipsum_1.txt

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $ touch kitty_ipsum_2.txt

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $ ls -a ./ .freeCodeCamp/ .gitignore .vscode/ coderoad.yaml kitty_ipsum_2.txt TUTORIAL.md ../ .git/ .gitpod.yml CHANGELOG.md kitty_ipsum_1.txt tutorial.json

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $ cd kitty_ipsum_1.txt bash: cd: kitty_ipsum_1.txt: Not a directory

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $ code learn-advanced-bash-by-building-a-kitty-ipsum-translator

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $ code learn-advanced-bash-by-building-a-kitty-ipsum-translator

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $ File > Open Folder > bash: syntax error near unexpected token `newline'

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $ ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator bash: /c/Users/User/Desktop/website/deo: No such file or directory

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $ code .

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $ code .

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $ npm --version 10.9.2

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $ node --version v22.15.1

User@DESKTOP-T9VK5LE MINGW64 ~/Desktop/website/deo kitty web/IPSUM KITTY/learn-advanced-bash-by-building-a-kitty-ipsum-translator (main) $

Deo-Code-UG avatar May 18 '25 12:05 Deo-Code-UG