di-sukharev / opencommit

just a GPT wrapper for git — generate commit messages by an LLM in 1 sec — works best with Claude 3.5 — supports local models too
https://www.npmjs.com/package/opencommit
MIT License
6.19k stars 329 forks source link

[Help] My oco stopped working #428

Closed psjjonathan closed 1 week ago

psjjonathan commented 3 weeks ago

Opencommit Version

1.02

Node Version

20.18.0

NPM Version

10.9.0

What OS are you seeing the problem on?

No response

What happened?

Sunddenly my Windows 10 stopped running some variables, one of them opencommit. I tried to set manually the path to the opencommit .bin but it doesn't work on my VS Code, otherwise it works on my CMD. Any idea?

When I try to run it on my VS Code I receive this message:

+ oco
+ ~~~
    + CategoryInfo          : ObjectNotFound: (oco:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Expected Behavior

The oco to run smoothly as always did.

Current Behavior

Returns the message bellow:

+ oco
+ ~~~
    + CategoryInfo          : ObjectNotFound: (oco:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Possible Solution

No response

Steps to Reproduce

No response

Relevant log output

No response

di-sukharev commented 3 weeks ago

did you try to remove opencommit with npm and reinstall it?

psjjonathan commented 3 weeks ago

I did

di-sukharev commented 1 week ago

@psjjonathan have you fixed this? sry dude, i dont have any windows machines to debug this, a PR from you would be much appreciated

psjjonathan commented 1 week ago

I'm sorry for not closing the issue before. I just formated my pc and installed Windows again. As I said, this was not the only issue I was having, but any script I'd try to run. After I reinstall Win10 everything is in place again.

di-sukharev commented 1 week ago

nice, take care ;)