BuilderIO / BuilderIO/ai-shell

Socket hang up error

Open
#43 1 comment 0 reactions 0 assignees View on GitHub
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:
![image](https://user-images.githubusercontent.com/26575579/231674073-61ce6037-1e9d-4af0-8f1e-5b8794c70475.png)

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.