nirelbaz / meniai

MeniAI is a CLI tool that lets developers create task-specific AI bots for automating and streamlining development tasks. These bots evolve with user feedback and can be used interactively or fully automated in CI/CD pipelines.
MIT License
2 stars 0 forks source link

[BUG] Unexpected token with code #2

Closed leonj1 closed 1 week ago

leonj1 commented 2 weeks ago

Describe the bug Invoking the command without any arguments leads to this error: $ meniai /home/gitpod/.nvm/versions/node/v20.17.0/bin/meniai: line 1: syntax error near unexpected token (' /home/gitpod/.nvm/versions/node/v20.17.0/bin/meniai: line 1:var awaiter = (this && this.awaiter) || function (thisArg, _arguments, P, generator) {'

To Reproduce Steps to reproduce the behavior: Followed installation instructions in the readme. Second step in readme was to run: meniai

Expected behavior The readme states there should be a wizard with steps that I should follow, but that never appears.

Environment (please complete the following information):

nirelbaz commented 1 week ago

Hey @leonj1! Thank you for opening an issue. The issue was that the executable file was missing the shebang line. I've added it in version 1.0.4 (https://github.com/nirelbaz/meniai/commit/de5e0a5d6f12d77349dd20d2137b21bff5028821).

Please let me know if it works for you now. Thanks again and I hope that MeniAi will prove useful for you :)

leonj1 commented 1 week ago

Confirmed fixed. Thanks!

nirelbaz commented 1 week ago

Great! Thanks again 🙏🏻