Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running aicommit2 config set GEMINI_KEY=<your key> #50

Closed
1 task
troublescope opened this issue Jun 28, 2024 · 3 comments
Closed
1 task

Error when running aicommit2 config set GEMINI_KEY=<your key> #50

troublescope opened this issue Jun 28, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@troublescope
Copy link

troublescope commented Jun 28, 2024

Bug description

When attempting to set the GEMINI_KEY using the command aicommit2 config set GEMINI_KEY=, an error is encountered.

Steps to Reproduce:

  1. Open terminal/command prompt.
  2. Run the command: aicommit2 config set GEMINI_KEY=<your key>.

Error Message:

(node:14544) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created)

aicommit2 version

v1.9.8

Environment

System:
    OS: android
    CPU: Unknown
    Memory: 2.31 GB / 7.43 GB
  Binaries:
    Node: 22.2.0 - /data/data/com.termux/files/usr/bin/node
    npm: 10.7.0 - /data/data/com.termux/files/usr/bin/npm

Can you contribute a fix?

  • I’m interested in opening a pull request for this issue.
@troublescope troublescope added the bug Something isn't working label Jun 28, 2024
@tak-bro
Copy link
Owner

tak-bro commented Jun 30, 2024

Thank you for sharing the issue. I will figure out the issue.

@tak-bro
Copy link
Owner

tak-bro commented Jun 30, 2024

this error occurs in node 21 version or later.
For now, try older version of Node.js(v20). I think it will take some time to fix the root cause.

@troublescope
Copy link
Author

troublescope commented Jul 9, 2024

this error occurs in node 21 version or later. For now, try older version of Node.js(v20). I think it will take some time to fix the root cause.

yeah thank that working, switching to nodejs-lts on termux, node-v20

@tak-bro tak-bro closed this as completed Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants