Skip to main content

EACCES permission denied during block initialization

  • April 12, 2021
  • 1 reply
  • 11 views

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

block init appiRmFlQxTjGB2Un/blksvlnJt2mRtaQ4V --template=https://github.com/Airtable/apps-summary 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

Justin_Barrett
Forum|alt.badge.img+21
  • Inspiring
  • 4647 replies
  • April 12, 2021

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.