# Error in Append stderr #UN3 in Go

**URL:** <https://forum.codecrafters.io/t/error-in-append-stderr-un3-in-go/5690>\
**Category:** Challenges\
**Tags:** challenge:shell\
**Created:** [February 22, 2025, 2:40pm UTC](https://forum.codecrafters.io/t/error-in-append-stderr-un3-in-go/5690 "2025-02-22T14:40:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jh123x](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/jh123x/32/4615_2.png) [@Jh123x](https://forum.codecrafters.io/u/Jh123x)\
**Post date:** [February 22, 2025, 2:40pm UTC](https://forum.codecrafters.io/t/error-in-append-stderr-un3-in-go/5690/1 "2025-02-22T14:40:11Z")

</div>

![image](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/2X/a/aa9691c69ba71a3f7f71adfdb9e556be83bd2ceb.png)

I am currently facing the same issue.  
Code is here: [GitHub - Jh123x/codecrafters-shell-go](https://github.com/Jh123x/codecrafters-shell-go)

---

<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:** [February 28, 2025, 1:20pm UTC](https://forum.codecrafters.io/t/error-in-append-stderr-un3-in-go/5690/2 "2025-02-28T13:20:29Z")

</div>

Hey @Jh123x, I moved your post to a new topic here, since it seems to be a separate issue.

There are two problems:

1. Your repo is missing the `.codecrafters` folder, which prevents it from functioning properly. I’ve added the folder and pushed a commit to your repo. You can just pull the latest changes to apply the fix.

2. Since you’re introducing raw mode into the codebase, tests are now failing from stage 2: **#CZ2 (Handle invalid commands)**.

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/2X/4/4c0a0eb6481eae668e366182918d3ce00882cef3.png)

Suggestions:

1. Use [our CLI](https://docs.codecrafters.io/cli/installation) to test against previous stages by running:

```auto
codecrafters test --previous

```

1. Focus on fixing the early stages first, as later stages depend on them.

---

<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:** [March 17, 2025, 8:03am UTC](https://forum.codecrafters.io/t/error-in-append-stderr-un3-in-go/5690/3 "2025-03-17T08:03:11Z")

</div>

Split this topic on March 17, 2025, 8:03am UTC

A post was split to a new topic: [Stuck at #cz2 Handle invalid commands with raw mode](https://forum.codecrafters.io/t/stuck-at-cz2-handle-invalid-commands-with-raw-mode/6973)

---

<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:** [March 17, 2025, 8:36am UTC](https://forum.codecrafters.io/t/error-in-append-stderr-un3-in-go/5690/5 "2025-03-17T08:36:00Z")

</div>

Closed on March 17, 2025, 8:36am UTC

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