Error: EACCES: permission denied, mkdir '/path'
See original GitHub issuewhen I run this command:
timecut https://bl.ocks.org/micahstubbs/3f439df92579c5bb2902fab15742ba87 --selector "iframe" --left 1 --right 1 --top 1 --bottom 1 --duration=120 --output=/path/to/output/video.mp4
I see this error in the terminal:
[0922/163349.098134:ERROR:gpu_process_transport_factory.cc(1043)] Lost UI shared context.
DevTools listening on ws://127.0.0.1:61493/devtools/browser/1c5d40b3-3f48-4d35-b490-4977aa179363
Going to https://bl.ocks.org/micahstubbs/3f439df92579c5bb2902fab15742ba87...
[0922/163350.219793:INFO:CONSOLE(4)] "graph", source: https://bl.ocks.org/micahstubbs/raw/3f439df92579c5bb2902fab15742ba87/6d432e10e85c9d21497ac7d44ddc85a1bcda64f1/vis.js (4)
[0922/163350.225464:INFO:CONSOLE(49)] "clusters", source: https://bl.ocks.org/micahstubbs/raw/3f439df92579c5bb2902fab15742ba87/6d432e10e85c9d21497ac7d44ddc85a1bcda64f1/vis.js (49)
Page loaded
{ Error: EACCES: permission denied, mkdir '/path'
at Object.fs.mkdirSync (fs.js:902:18)
at makeFileDirectoryIfNeeded (/Users/m/.config/yarn/global/node_modules/timesnap/index.js:211:10)
at /Users/m/.config/yarn/global/node_modules/timesnap/index.js:374:15
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:182:7) errno: -13, code: 'EACCES', syscall: 'mkdir', path: '/path' }
{ Error: EACCES: permission denied, mkdir '/path'
at Object.fs.mkdirSync (fs.js:902:18)
at makeFileDirectoryIfNeeded (/Users/m/.config/yarn/global/node_modules/timecut/index.js:45:10)
at makeProcessPromise (/Users/m/.config/yarn/global/node_modules/timecut/index.js:116:5)
at /Users/m/.config/yarn/global/node_modules/timecut/index.js:176:16
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:182:7) errno: -13, code: 'EACCES', syscall: 'mkdir', path: '/path' }
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Error: EACCES: permission denied when trying to install ...
This problem is well documented in the npm docs: Fixing npm permissions. You have 2 solutions available: Option 1: Change npm's default directory...
Read more >How to fix ( Error: EACCES: permission denied, mkdir )
This command fixed the issue. It worked like a charm and installed all gulp packages without any directory permission errors.
Read more >npm install failing (Error: EACCES: permission denied, mkdir ...
This is permission issue on the folder. For some reason subfolder permissions were changed from jenkins to root which caused the issue. sudo ......
Read more >There was an error: EACCES: permission denied, mkdir
This sounds like the user account n8n is running under doesn't have write permission in your directory. If you manually create the directory...
Read more >Resolving EACCES permissions errors when installing ...
On the command line, in your home directory, create a directory for global installations: mkdir ~/.npm-global ; Configure npm to use the new...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
nice, thanks for the response @tungs
I’ll summarize what I read 😄
I’m marking this as an enhancement issue: when using an output path where the user doesn’t have permission, there should be a clearer error than an EACCES error.