This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Directory permission denied in Toolchain Manager

After installing nRF Connect for Desktop on macOS, I hit "Install" for Toolchain Manager, and then "Open". 

This opens a new window for the Toolchain Manager, which says it has experienced an "unrecoverable error", with the trace

Error: EACCES: permission denied, mkdir '/opt/nordic/ncs'
    at Object.mkdirSync (fs.js:823:3)
    at Object.mkdirsSync (/Users/austinhsieh/.nrfconnect-apps/node_modules/pc-nrfconnect-toolchain-manager/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js:31:9)
    at t.default (/Users/austinhsieh/.nrfconnect-apps/node_modules/pc-nrfconnect-toolchain-manager/dist/bundle.js:6:83404)
    at /Users/austinhsieh/.nrfconnect-apps/node_modules/pc-nrfconnect-toolchain-manager/dist/bundle.js:12:38864
    at is (file:///Applications/nRF%20Connect.app/Contents/Resources/app.asar/dist/app-bundle.js:33:83208)
    at vl (file:///Applications/nRF%20Connect.app/Contents/Resources/app.asar/dist/app-bundle.js:33:102287)
    at t.unstable_runWithPriority (file:///Applications/nRF%20Connect.app/Contents/Resources/app.asar/dist/app-bundle.js:41:3844)
    at Bi (file:///Applications/nRF%20Connect.app/Contents/Resources/app.asar/dist/app-bundle.js:33:45023)
    at ml (file:///Applications/nRF%20Connect.app/Contents/Resources/app.asar/dist/app-bundle.js:33:102046)
    at Zs (file:///Applications/nRF%20Connect.app/Contents/Resources/app.asar/dist/app-bundle.js:33:93595)

I believe there was a permission prompt that opened initially for directory access, which I did "allow" for.  I also gave nRF Connect full disk access in system preferences. I'm on macOS Big Sur (11.5.1), with nRF Connect version 3.7.0 and Toolchain Manager 0.9.3.

Parents Reply Children
No Data
Related