0.0.15 • Published 7 months ago

mukco-gpterminal v0.0.15

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

GPTerminal

Faster debugging with ChatGPT.

Install Bun

curl -fsSL https://bun.sh/install | bash

Add OpenAI API Key

export OPEN_AI_API_TOKEN=your_token

Run failed command

➜  ~ npm run foo

# Error
pm ERR!  code ENOENT
npm ERR! syscall open
npm ERR! path /Users/foo/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/Users/foo/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/foo/.npm/_logs/2023-10-29T20_27_47_598Z-debug-0.log

Run gpterm

➜  ~ gpterm
The last command was: npm run foo.

## Are you sure that is the one you want to debug? (Y/n)

Y
Debugging npm run foo


# Debugger's response:

 This error typically occurs when there is no package.json file in your current directory. Please ensure that a package.json file exists in your project directory and you're located in the project root directory when running commands. If no package.json exists in your project you can create one with the npm init command.


# Code snippet:

 npm init -y


Debugger marked npm init -y as executable. Do you want to run it? (Y/n)

n
0.0.15

7 months ago

0.0.14

7 months ago

0.0.13

7 months ago

0.0.12

7 months ago

0.0.11

7 months ago

0.0.10

7 months ago

0.0.9

7 months ago

0.0.8

7 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago