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
Verify that cache has been cleared by running
npm cache clean --force
to rule out caching issues and re-attemptnpx fusion start
.Upon receiving the same error; in Mac OSX navigate to System Preferences > Security & Privacy > Full Disk Access.
Locate "Terminal" and/or any utility being used to start Arc XP and click the checkbox to enable.
Reattempt
npx fusion start