Publii icon indicating copy to clipboard operation
Publii copied to clipboard

[Bug]: First run on MacOS → A JavaScript error occurred in the main process

Open thinktapper opened this issue 2 years ago • 0 comments

Operating system

macOS Monterey 12.3

Publii version

0.39.1 (build 15483)

Post editor

No response

Bug description

Clean install, first open: Publii fails to open with error → A JavaScript error occurred in the main process

Uncaught Exception: Error: Failed to get 'documents' path at new App (/Applications/Publii.app/Contents/Resources/app.asar/back-end/app.js:48:42) at App. (/Applications/Publii.app/Contents/Resources/app.asar/main.js:37:19) at App.emit (node:events:390:28) at App.emit (node:domain:475:12)

Tried manually giving Publii full disk access permission, same error.

Screen Shot 2022-04-09 at 12 29 51 PM

Also, might as well let ya know installing Publii via homebrew...

..fails with a SHA256 mismatch

Screen Shot 2022-04-09 at 12 38 06 PM

Steps to reproduce

  1. Download latest macOS Apple Silicon dmg from https://getpublii.com/download/
  2. Open dmg → drag Publii to Applications folder
  3. Open Publii

Relevant log output

No response

thinktapper avatar Apr 09 '22 17:04 thinktapper