Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install dependency "[email protected]" when installing with npm i -g mwoffliner #1880

Closed
yizhimengxin2233 opened this issue Aug 12, 2023 · 5 comments

Comments

@yizhimengxin2233
Copy link

Screenshot_20230812_174533

I'm having trouble trying to install mwoffliner. Whether I use Git source code or npm source installation, it will fail when compiling and installing node-libzim. I even tried installing in termux, lxc(based on my android phone), docker(arm), but always reported similar errors. Even if I try to change the dependent node-libzim and node-gyp to the latest version, they cannot be installed and started smoothly.How can I solve it? (Screenshots and logs are from archlinux-x86 yay)
(translated by google)
2023-08-12T09_25_41_483Z-debug-0.log

@kelson42
Copy link
Collaborator

I think the problem might be nodejs20. Shoukd work with nodejs18.

@kelson42 kelson42 self-assigned this Sep 19, 2023
@yizhimengxin2233
Copy link
Author

I think the problem might be nodejs20. Shoukd work with nodejs18.

It crashed again.
Screenshot_20231004_160122
2023-10-04T07_54_53_827Z-debug-0.log

@kelson42
Copy link
Collaborator

@audiodude Any clue on this pretty old bug report?

@kelson42
Copy link
Collaborator

@yizhimengxin2233 This is an X86_64 CPU running a Linux? Do you have the libzim installed otherwise on the system?

@audiodude
Copy link
Member

Yes, this is the same issue as #2029. The old version of node-gyp installed with node-libzim 2.4.4 can't build on Python > 3.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants