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

npx install-apex-executables takes +30 seconds #1368

Closed
3 tasks done
mnunezdm opened this issue May 3, 2024 · 1 comment
Closed
3 tasks done

npx install-apex-executables takes +30 seconds #1368

mnunezdm opened this issue May 3, 2024 · 1 comment

Comments

@mnunezdm
Copy link

mnunezdm commented May 3, 2024

Self-Troubleshooting Checklist

  • Are you running Prettier Apex >= 2.0.0? If Yes, have you gone through the Upgrade Guide?
  • Are you running Java >= 11? If No, you need to install a newer Java version.
  • Are you running VSCode and recently upgraded Prettier or Prettier Apex? If Yes, have you restarted VSCode after the upgrade?

Describe your issue

Its strange but npx install-apex-executables seems to hang until timeout after correctly downloading the binary file

The File downloaded successfully to ... appears almost instantly but the process does not return end until after 30 seconds

If after the message is printed I manually cancel the command prettier seems to be working fine

Prettier options (if any)

n/a

System Info

System:
    OS: macOS 14.4.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 61.19 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.9.0 - ~/.nvm/versions/node/v20.9.0/bin/node
    Yarn: 1.22.21 - /opt/homebrew/bin/yarn
    npm: 10.1.0 - ~/.nvm/versions/node/v20.9.0/bin/npm
    bun: 1.1.4 - ~/.bun/bin/bun
  Languages:
    Bash: 5.2.26 - /opt/homebrew/bin/bash
    Java: 21.0.2 - /usr/bin/javac
    Perl: 5.34.1 - /usr/bin/perl
    Python3: 3.11.7 - /opt/homebrew/bin/python3
    Ruby: 2.6.10 - /usr/bin/ruby
  npmPackages:
    prettier: 3.0.3 => 3.0.3 
    prettier-plugin-apex: 2.1.1 => 2.1.1
@dangmai dangmai closed this as completed in a4e80f5 May 4, 2024
@dangmai
Copy link
Owner

dangmai commented May 4, 2024

Thanks for raising this issue, I've fixed this in master and it will be included in the next release.

It's released as part of v2.1.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants