Number Guessing Game project from Relational Database Course

I having problem with passing the project and I think I already solve the problem
Here is an example of my program:

``````Enter your username:
Tony
Welcome, Tony! It looks like this is your first time here.
Guess the secret number between 1 and 1000:
825
99

It's higher than that, guess again:
Guess the secret number between 1 and 1000:
825
999

It's lower than that, guess again:
Guess the secret number between 1 and 1000:
825
2

It's higher than that, guess again:
Guess the secret number between 1 and 1000:
825
hello

That is not an integer, guess again:
Guess the secret number between 1 and 1000:
825
44

It's higher than that, guess again:
Guess the secret number between 1 and 1000:
825
825
You guessed it in 5 tries. The secret number was 825. Nice job!
#second attempt when user is found
Tony
Welcome back, Tony! You have played 1 games, and your best game took 5 guesses.
Guess the secret number between 1 and 1000:
631
909

It's lower than that, guess again:
Guess the secret number between 1 and 1000:
631
3

It's higher than that, guess again:
Guess the secret number between 1 and 1000:
631
631
You guessed it in 3 tries. The secret number was 631. Nice job!

I also print the random number so I can guess it easier

``````

Here is the test log:

``````FAILED TEST LOG
✘ SUBTASKS 1.1 :8 Your script should print the correct welcome message for returning users

Error: write EPIPE
at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:94:16)
✘ SUBTASKS 1.1 :8 Your script should print the correct welcome message for returning users

Error: done() called multiple times in test <SUBTASKS 1.1 :8 Your script should print the correct welcome message for returning users> of file /home/codeally/project/.freeCodeCamp/test/1.1.test.js; in addition, done() received error: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

assert(re.test(scriptOutput))

✘ SUBTASKS 1.1 :10 Your script should print the correct initial message to prompt a user for a guess

AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

assert(/Guess\s+the\s+secret\s+number\s+between\s+1\s+and\s+100000:/.test(scriptOutput))

at Context.<anonymous> (test/1.1.test.js:112:5)
✘ SUBTASKS 1.1 :13 Your script should print the correct message when a game is finished

Error: write EPIPE
at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:94:16)
✘ SUBTASKS 1.1 :13 Your script should print the correct message when a game is finished

Error: done() called multiple times in test <SUBTASKS 1.1 :13 Your script should print the correct message when a game is finished> of file /home/codeally/project/.freeCodeCamp/test/1.1.test.js; in addition, done() received error: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

assert(re.test(scriptOutput))

✘ SUBTASKS 1.1 :16 You should submit your project while on the "main" branch of your repository with a clean working tree

AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

assert(/On branch main\s/.test(commandOutput) && /working tree clean/.test(commandOutput))

at Context.<anonymous> (test/1.1.test.js:164:5)
``````

I tried to change the buffer and it does pass some tasks but 3 remain. Has anyone had this problem and how to solve it? Thanks!

currently facing the same issue.
did you find any solution?