Closed bannsec closed 2 months ago
Thanks! Apologies for the delay here, I've been heads down restructuring the build system, and it ended up taking way longer than expected. We now check for Node.js and npm at the Meson level, and also ensure that Node.js is recent enough. I've removed this confusing error handling as well -- let's see if we'll have to bring it back later. (The default should be enough though, as I seem to recall that the subprocess.CalledProcessError
is reasonably verbose.)
This drove me nuts. I kept getting an error telling me npm wasn't installed. Turns out it was and the error was completely lying to me and not even showing me the true error.
With real errors, i get something more useful:
Also should probably update install instructions if noode > 14.9 is required, since by default npm on ubuntu 22.04 is apparently too old.