Noovolari / leapp

Leapp is the DevTool to access your cloud
https://www.leapp.cloud/
Mozilla Public License 2.0
1.62k stars 146 forks source link

Failed at the zlib@1.0.5 preinstall script 'node-waf clean || true; node-waf configure build'. #539

Closed eswidler closed 8 months ago

eswidler commented 8 months ago

Describe the bug When installing the Leapp CLI, an error occurs related to using node-waf

Leapp Version Leapp CLI 0.1.64

To Reproduce Steps to reproduce the behavior:

  1. Node: 21.7.1
  2. NPM: 10.5.0
  3. Run brew install Noovolari/brew/leapp-cli
  4. Experience error:
    npm ERR! command failed
    npm ERR! command sh -c node-waf clean || true; node-waf configure build
    npm ERR! sh: node-waf: command not found
    npm ERR! sh: node-waf: command not found
    npm verb exit 127

Expected behavior The Leapp CLI should be installed

Screenshots Screenshot 2024-03-11 at 12 29 24 PM (1)

Desktop (please complete the following information):

ms-ati commented 8 months ago

Any idea of a timeline for this? Am I the only person in the world who cannot install Leapp CLI until this is resolved?

ericvilla commented 8 months ago

Hi @ms-ati, that's an issue related to the node-zlib library, which is deprecated. I'm gonna try to replace the deprecated packages with the Node.js built-in one

ericvilla commented 8 months ago

CLI v0.1.65 is out! Please, try that new version and let me know if the problem is solved. If so, I'm going to release the desktop app, so that the new version is notified to all the users automatically

ms-ati commented 8 months ago

Thanks and apologies - how do I try this? I’ve been installing on Mac OS using Homebrew?

ms-ati commented 8 months ago

@ericvilla Thank you so much! I can confirm that version v0.1.65 installed successfully using brew install Noovolari/brew/leapp-cli -- all set!

ericvilla commented 8 months ago

Great to hear that it is working @ms-ati! I'm going to close the issue