faressoft / faressoft/terminalizer
Render not using temporary directory
- Dominant language
- JavaScript
- Stars
- 16.2k
- Forks
- 520
- PR merge metrics
- No merged PRs in 30d
Description
Hi @faressoft, and thank you for your amazing work!
I am running `terminalizer@0.11.0`, which was installed globally. The issue with the access rights to the render folder is still present in this scenario. Either the `tmp` package does not work as expected in this scenario, or the fact that the library has been installed globally messes something up.
```
terminalizer render test_recording.yml
(node:318722) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Error:
Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/terminalizer/render/frames'
```
Let me know if you need more information from my side.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing `terminalizer render test_recording.yml` after a global installation and inspect how the render output directory and `frames` subdirectory are chosen. Done means rendering no longer attempts to create `/usr/lib/node_modules/terminalizer/render/frames` and completes without an EACCES error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100