Closed eranhr closed 3 years ago
still not working... install halt at this point:
[Mon Oct 26 16:18:20] [zimlib] [259]$ npm i openzim/libzim ⸨░░░░░░░░░░░░░░░░░░⸩ ⠧ rollbackFailedOptional: verb npm-session 2e2c3cd9ee4cdfc0
@eranhr What is exactly your Operating System?
Catalina 10.15.7
@rgaudin Would you be able please to check if you have a similar behaviour?
I thought I found a way to install node-libzim but it 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!
Please open a new ticket and show the log for installing openzin/libzim.
Hi, running "npm i libzim" and the result is an error. it is looking for https://github.com/cscott/node-libzim/releases/download/1.0.0/zim-v1.0.0-node-v79-darwin-x64.tar.gz which seems to be wrong (the /download/ section)
Thanks
terminal output: