NodeJS - npm: zlib binding closed | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

NodeJS - npm: zlib binding closed

I am using normal NodeJS with npm, but for two days now every time that I want to install a package by 'npm install xxx', get the error: npm ERR! zlib: zlib binding closed I am sure that I have the right to write/read in the target folder. Can you help me? Thanks in advance

16th Aug 2019, 4:03 PM
Sebastian Thomas
Sebastian Thomas - avatar
4 Answers
+ 1
Probably the nvm version was wrong: I'm terribly sorry...
16th Aug 2019, 5:50 PM
Sebastian Thomas
Sebastian Thomas - avatar
+ 2
https://github.com/websockets/ws/issues/628 https://npm.community/t/npm-3-8-6-broken/8738
16th Aug 2019, 4:25 PM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
0
᠌᠌brains[lvl1-13] Thanks for answering. Unfortunately I did already find those two websites, but they didn't help me...
16th Aug 2019, 5:19 PM
Sebastian Thomas
Sebastian Thomas - avatar
0
I don't know why but now it works, without that I had done anything. Thank you anyway brains!
16th Aug 2019, 5:49 PM
Sebastian Thomas
Sebastian Thomas - avatar