I installed Publii on my new Macbook Pro M1 because my old Mac died. When I start Publii on the new machine I get:
Uncaught Exception:
Error: EACCES: permission denied, mkdir '/Users/don19'
at Object.mkdirSync (fs.js:925:3)
at mkdirsSync (/Applications/Publii.app/Contents/Resources/app.asar/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js:31:9)
at mkdirsSync (/Applications/Publii.app/Contents/Resources/app.asar/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js:36:14)
at mkdirsSync (/Applications/Publii.app/Contents/Resources/app.asar/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js:36:14)
at Object.mkdirsSync (/Applications/Publii.app/Contents/Resources/app.asar/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js:36:14)
at App.loadSites (/Applications/Publii.app/Contents/Resources/app.asar/back-end/app.js:286:16)
at new App (/Applications/Publii.app/Contents/Resources/app.asar/back-end/app.js:71:39)
at App.<anonymous> (/Applications/Publii.app/Contents/Resources/app.asar/main.js:32:19)
at App.emit (events.js:315:20)
at App.EventEmitter.emit (domain.js:483:12)
The User don19 doesn’t exist any more on the new Mac. Is there any way I can just open Publii? I’m happy to reconstruct the site if needed. I realize it would have been better to have had the site root in Dropbox as you advise, but I don’t understand why a fresh install on a new computer still looks in the old root location. I did migrate the apps from an existing iCloud account but deleted Publii and reinstalled.