ankitpokhrel / jira-cli

🔥 Feature-rich interactive Jira command line.
MIT License
3.9k stars 197 forks source link

jira init leads to "Incorrect function" #745

Closed coberhauser closed 2 months ago

coberhauser commented 3 months ago

Describe the bug When running jira.exe init the following errors occurs:

$ ./jira.exe init
? Installation type:  [Use arrows to move, type to filter, ? for more help]
> Cloud
  Local

✗ Unable to generate configuration: Incorrect function.

Please provide following details

  1. JiraCLI Version:

    (Version="1.5.1", GitCommit="0e0f82d52ef5a775d2cc662fbe38d9732b9b5c59", CommitDate="2024-01-20T10:48:06+00:00", GoVersion="go1.21.5", Compiler="gc", Platform="windows/amd64")
  2. Are you using Jira cloud or on-premise jira server?

    cloud
  3. What operating system are you using? Also mention version.

    Microsoft Windows 11 Pro
    Version 10.0.22631 Build 22631
  4. What terminal are you using? Also mention version. image

To Reproduce

Steps to reproduce the behavior:

  1. Download windows zip
  2. Extract
  3. Insert JIRA_API_TOKEN and JIRA_AUTH_TYPE into .bashrc
  4. Run ./jira.exe init
  5. Program stops right away printing:
    
    $ ./jira.exe init
    ? Installation type:  [Use arrows to move, type to filter, ? for more help]
    > Cloud
    Local

✗ Unable to generate configuration: Incorrect function.



**Expected behavior**
Installation type selection is available and it is possible to continue `jira init`. 

Thanks in advance
coberhauser commented 3 months ago

Update: All works find with regular cmd