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

Permission error when running tldr #404

Open
abhitrueprogrammer opened this issue Jan 26, 2023 · 1 comment
Open

Permission error when running tldr #404

abhitrueprogrammer opened this issue Jan 26, 2023 · 1 comment

Comments

@abhitrueprogrammer
Copy link

Installed npm using nvm. Then installed tldr without sudo

Expected behavior

tldr should not throw up any error while running tldr -u

Actual behavior

An error when running tldr -u or tldr tar.

Log, debug output

Error: EACCES: permission denied, mkdir '/tmp/tldr/33329d79aee50ac92ca85fdad4dad834'

Environment

  • Operating system - macOS/Linux/Windows (add version if needed) Linux, Fedora 37
  • Node.js version (node --version) tested in 6.14.16 & 9.4.0
  • tldr-node-client version (tldr --version) 3.3.8
@kbdharun
Copy link
Member

Hi, Sorry for the late reply. Do you still have this issue?

If so, can you try clearing the cache first with tldr --clear-cache then try updating it using tldr --update or tldr -u.

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

No branches or pull requests

2 participants