# Stuck on stage #NI6: program fails for test #GP4

**URL:** <https://forum.codecrafters.io/t/stuck-on-stage-ni6-program-fails-for-test-gp4/15645>\
**Category:** Challenges\
**Tags:** challenge:shell\
**Created:** [December 10, 2025, 7:34am UTC](https://forum.codecrafters.io/t/stuck-on-stage-ni6-program-fails-for-test-gp4/15645 "2025-12-10T07:34:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mwawaka](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/mwawaka/32/20691_2.png) [@Mwawaka](https://forum.codecrafters.io/u/Mwawaka)\
**Post date:** [December 10, 2025, 7:34am UTC](https://forum.codecrafters.io/t/stuck-on-stage-ni6-program-fails-for-test-gp4/15645/1 "2025-12-10T07:34:24Z")

</div>

The logs show that my program passed tests for stage #NI6, however it fails for #GP4, an already cleared stage.

 ![gp4](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/f/2/f241cfe0ff54299217025450fd71ebacabda8ebd.png)

My program prints out the prompt ``($ )` when I test it out locally:

```auto
[~/Projects/codecrafters-shell-go]
└─$ ./your_program.sh
$ 

```

Repo link : [https://git.codecrafters.io/00ee75655566978f](https://git.codecrafters.io/00ee75655566978f)

Please, I need help.

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [December 16, 2025, 12:20am UTC](https://forum.codecrafters.io/t/stuck-on-stage-ni6-program-fails-for-test-gp4/15645/4 "2025-12-16T00:20:43Z")

</div>

Hey @Mwawaka, looks like your program was being recompiled every time it ran, which caused the prompt (`$`) to be printed late. This was due to the deleted `.codecrafters` folder.

I’ve pushed a fix to your repo. You can run `git pull` to sync the changes.

Let me know if you hit any issues after pulling.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)\
**Post date:** [December 21, 2025, 12:21am UTC](https://forum.codecrafters.io/t/stuck-on-stage-ni6-program-fails-for-test-gp4/15645/6 "2025-12-21T00:21:15Z")

</div>

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.
