Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
Assignees
ShMcK
Labels
bugSomething isn't working
@ndubbaka

Description

@ndubbaka

Describe the bug
tutorial athttps://raw.githubusercontent.com/freeCodeCamp/learn-relational-databases-by-building-a-mario-database/main/tutorial.json is working on gitpod fromhttps://www.freecodecamp.org/learn/relational-database/learn-relational-databases-by-building-a-mario-database/build-a-mario-database but it's not working locally on my Mac visual studio code.

To Reproduce
Steps to reproduce the behavior:

  1. import tutorial in local VS codehttps://raw.githubusercontent.com/freeCodeCamp/learn-relational-databases-by-building-a-mario-database/main/tutorial.json
  2. Click on 'start' button
  3. first level, first step: "Once you open a new one, type echo hello PostgreSQL into the terminal and press enter."
  4. I made sure I opened bash terminal in vs code sincehttps://github.com/freeCodeCamp/learn-relational-databases-by-building-a-mario-database/blob/v2.0.0/.freeCodeCamp/test/10.test.jsconst lastCommand = await getLastCommand(); assert(lastCommand[0] === 'echo' && lastCommand[1] === 'hello' && lastCommand[2] === 'PostgreSQL'); has the function getLastCommandhttps://github.com/freeCodeCamp/learn-relational-databases-by-building-a-mario-database/blob/v2.0.0/.freeCodeCamp/test/utils.js#L9 which is looking at .bash_history file.const getLastCommand = async (howManyBack = 0, parse = true, dir = process.cwd()) => { const pathToBashLogs = path.join(dir, '../../', '.bash_history');
  5. Click on 'Run' button
  6. See error "Test Runner Failed"
    image

Expected behavior
not see the error "Test Runner Failed" and I am expected to successfully complete level 1 & navigate to level 2.

Desktop:

  • Platform: Mac
  • OS: MacOS Ventura
  • Version 13.5

VSCode:

  • Version 1.91.1 (Universal)

Node:

  • Version v18.18.1

Git (please complete the following information):

  • Version 2.39.3 (Apple Git-145)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp