EACCES permission denied during block initialization

770 1
Showing results for 
Search instead for 
Did you mean: 
4 - Data Explorer
4 - Data Explorer

This is the command that I ran to access the app and get it running on my computer-

block init appiRmFlQxTjGB2Un/blksvlnJt2mRtaQ4V --template= proportion

After I entered the API key, it shows the following error-

API key saved to /Users/shahzinakhan/.config/.airtableblocksrc.json. To update it, use ‘block set-api-key’

Initializing block using GitHub - Airtable/apps-summary: Summarize numerical data as averages, ranges, and more. template

Error: :x: EACCES: permission denied, mkdir ‘proportion’

How do I set the appropriate permissions to get this running?

Thank you.

1 Reply 1

Welcome to the community, @Sikander_Khan! :grinning_face_with_big_eyes: What OS are you running? If you’re on macOS, you might try running the command again with the sudo prefix. It’ll prompt you to enter your password (and you won’t see it as you type in the terminal), but it essentially uses your authorization as the system admin to get past various permissions issues while the process runs.

If that doesn’t work, holler and we’ll see what else we can try.