openzim / node-libzim

Libzim binding for Node.js: read/write ZIM files in Javascript
https://www.npmjs.com/package/@openzim/libzim
GNU General Public License v3.0
27 stars 11 forks source link

error installing on macOS #52

Closed eranhr closed 3 years ago

eranhr commented 3 years ago

installing node-libzim still reporting an error (on two different macOS computers).

When I run npm i openzim/libzim I get this error:


[Sat Nov 07 12:01:28] [libzim] [1]$   npm i openzim/libzim
npm ERR! premature close

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/**********/.npm/_logs/2020-11-08T12_02_50_054Z-debug.log

when I run npm i libzim I get this errors:

1. [Sun Nov 08 14:02:50] [libzim] [2]$   npm i libzim
2. 
3. > libzim@1.0.0 install /Users/**********/wiki/node_modules/libzim
4. > node-pre-gyp install --fallback-to-build
5. 
6. node-pre-gyp info it worked if it ends with ok
7. node-pre-gyp verb cli [
8. node-pre-gyp verb cli   '/usr/local/Cellar/node/13.13.0/bin/node',
9. node-pre-gyp verb cli   '/Users/**********/wiki/node_modules/libzim/node_modules/.bin/node-pre-gyp',
10. node-pre-gyp verb cli   'install',
11. node-pre-gyp verb cli   '--fallback-to-build'
12. node-pre-gyp verb cli ]
13. node-pre-gyp info using node-pre-gyp@0.6.29
14. node-pre-gyp info using node@13.13.0 | darwin | x64
15. node-pre-gyp verb command install []
16. node-pre-gyp info check checked for "/Users/**********/wiki/node_modules/libzim/lib/binding/node-v79-darwin-x64/zim.node" (not found)
17. node-pre-gyp http GET https://github.com/cscott/node-libzim/releases/download/1.0.0/zim-v1.0.0-node-v79-darwin-x64.tar.gz
18. node-pre-gyp http 404 https://github.com/cscott/node-libzim/releases/download/1.0.0/zim-v1.0.0-node-v79-darwin-x64.tar.gz
19. node-pre-gyp ERR! Tried to download: https://github.com/cscott/node-libzim/releases/download/1.0.0/zim-v1.0.0-node-v79-darwin-x64.tar.gz 
20. node-pre-gyp ERR! Pre-built binaries not found for libzim@1.0.0 and node@13.13.0 (node-v79 ABI) (falling back to source compile with node-gyp) 
21. node-pre-gyp http Pre-built binary not available for your system, looked for https://github.com/cscott/node-libzim/releases/download/1.0.0/zim-v1.0.0-node-v79-darwin-x64.tar.gz 
22. node-pre-gyp verb command build [ 'rebuild' ]
23. node-pre-gyp ERR! Tried to download: https://github.com/cscott/node-libzim/releases/download/1.0.0/zim-v1.0.0-node-v79-darwin-x64.tar.gz 
24. node-pre-gyp ERR! Pre-built binaries not found for libzim@1.0.0 and node@13.13.0 (node-v79 ABI) (falling back to source compile with node-gyp) 
25. node-pre-gyp http Connection closed while downloading tarball file 
26. node-pre-gyp verb command build [ 'rebuild' ]

please notice line 17,18 and 19 in the console log output.

thanks!

kelson42 commented 3 years ago

@eranhr I have requested two times ti log for openzim/libzim and you keep delivering log for package libzim. Package libzim is deprecated for the moment.

eranhr commented 3 years ago

I gave log for both cases. here again the output for openzim/libzim:

[Sat Nov 07 12:01:28] [libzim] [1]$   npm i openzim/libzim
npm ERR! premature close

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/**********/.npm/_logs/2020-11-08T12_02_50_054Z-debug.log