Noovolari/leapp

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

eswidler opened this issue · 6 comments

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):

  • OS: Mac
  • OS Version 14.3.1
  • Leapp CLI 0.1.64

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

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

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

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

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

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