tldr-node-client icon indicating copy to clipboard operation
tldr-node-client copied to clipboard

Permission error when running tldr

Open abhitrueprogrammer opened this issue 2 years ago • 1 comments

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

abhitrueprogrammer avatar Jan 26 '23 13:01 abhitrueprogrammer

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.

kbdharun avatar Nov 15 '23 05:11 kbdharun