Skip to main content

Error: "EPERM: operation not permitted, scandir"

Symptoms

  • Running npx fusion start  produces Error: EPERM: operation not permitted, scandir [path]

  • System OS is Mac OS X 10.14 Mojave or higher

Cause

In Mac OS X 10.14 and higher "Full Disk Access" must be granted to allow Terminal access to certain files, directories and configurations; including those often used by docker in the default configuration.

Solution

  1. Verify that cache has been cleared by running npm cache clean --force to rule out caching issues and re-attempt npx fusion start.

  2. Upon receiving the same error; in Mac OSX navigate to System Preferences > Security & Privacy > Full Disk Access.

  3. Locate "Terminal" and/or any utility being used to start Arc XP and click the checkbox to enable.

  4. Reattempt npx fusion start