BuilderIO / BuilderIO/ai-shell
Socket hang up error
Open
help wanted
- Dominant language
- TypeScript
- Stars
- 5.3k
- Forks
- 377
- PR merge metrics
- No merged PRs in 30d
Description
OS: Ubuntu 20.04(WSL on Windows 10)
Node Version: 14
Steps:
```
npm install -g @builder.io/ai-shell
ai config set OPENAI_KEY=xxx
ai show cpu usage
```
What I got:

Contributor guide
Research direction
Reproduce the issue with the listed npm installation and ai config set commands on Ubuntu 20.04 under WSL with Node 14, then inspect the CLI entry point and the request made by ai show cpu usage. Done means the command no longer reports a socket hang up and returns its expected shell command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100