-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
TLDR update error #445
Comments
Thanks for reporting the issue, can you try running |
@kbdharun Hi! I used
|
I am unable to repro this. Using Node 20.11.1. |
Try |
Hi, Can you try running |
It seems that I have the same problem after a fresh install:
I have tried all the solutions proposed above (uninstall, clear cache, etc.) but none of them solved the problem. |
Hi, if possible can you clone the repository here with If the issue is due to outdated dependencies, then it will be fixed when I make a new release with the updated deps from the main branch. |
I did what you wrote and I got this error message:
I hope this would help you to find what happens. |
I seem to have encountered the same problem as well |
I tried lots of times and failed, when i lost all hope and i tried the last time and succeed.Maybe you should try “sudo npm install -g tldr ” more times and "tldr list", at last "tldr --update", I believed it's a kind of bug. |
If you are using "sudo", you are probably using npm without using nvm. I understand that the problem occurs using nvm. I just tried the steps above, without success. |
I think I encountered the same problem. None of the suggested solutions seem to work.
|
tldr --update
⠧ Updating.../usr/local/lib/node_modules/tldr/node_modules/adm-zip/adm-zip.js:62
throw Utils.Errors.INVALID_FILENAME();
^
Error: ADM-ZIP: Invalid filename
at Object.INVALID_FILENAME (/usr/local/lib/node_modules/tldr/node_modules/adm-zip/util/errors.js:56:16)
at new module.exports (/usr/local/lib/node_modules/tldr/node_modules/adm-zip/adm-zip.js:62:32)
at WriteStream. (/usr/local/lib/node_modules/tldr/lib/remote.js:32:21)
at WriteStream.emit (node:events:529:35)
at finish (node:internal/streams/writable:748:10)
at finishMaybe (node:internal/streams/writable:733:9)
at afterWrite (node:internal/streams/writable:507:3)
at onwrite (node:internal/streams/writable:480:7)
at node:internal/fs/streams:465:5
at node:internal/fs/streams:421:7
Node.js v18.19.1
on ubuntu 24.04,dosen’t work,how to fix it?
The text was updated successfully, but these errors were encountered: