Open drejkamikaza opened 6 months ago
What do you mean by "Changed the required lib to node - zlib"?
When I tried to install the specific version of c4builder I received the following error:
npm warn tarball tarball data for file:c4builder-0.2.17.tgz (null) seems to be corrupted. Trying again. npm warn tarball tarball data for file:c4builder-0.2.17.tgz (null) seems to be corrupted. Trying again. npm error code ENOENT npm error syscall open npm error path /Users/viliam/c4builder-0.2.17.tgz npm error errno -2 npm error enoent ENOENT: no such file or directory, open '/Users/viliam/c4builder-0.2.17.tgz' npm error enoent This is related to npm not being able to find a file. npm error enoent
He means the c4builder for new node versions needs to be node:zlib, righ below:
And due to that , remove "zlib" dependency from package.json too.
Why When you try to use the default install
npm i -g c4builder
method for c4builder, there is an error like in the issue: https://github.com/adrianvlupu/C4-Builder/issues/50What I've done an upgrade of packages:
npm audit fix
Removed the package zlib Changed the required lib to node - zlibHow to use If you want to use the fixed version then run:
npm pack
- you will get the c4builder-0.2.17.tgz Then you can install the package using:npm i -g c4builder-0.2.17.tgz