Sign in
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

JavaScript error occurred in the main process (on launch)

  • This topic has 2 replies, 2 voices, and was last updated 2 months, 1 week ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #11262
    Avatar photomlryan

    On launching the Publii application I am now (after a few years of successful operation) getting the following error:

    Uncaught exception:

    Error: UNKNOWN: unknown error, read

    at Object.readSync (node:fs:749:3)

    at tryReadSync (node:fs:449:20)


    referring to app.asar/back-end/app.js:166:55


    This is latest Windows build running on Windows 10.


    Thanks for looking.

    Avatar photoTomasz Dziuda


    There can be few reasons of this issue:

    • corrupted file (in this case config.json in the used theme)
    • wrong file permissions
    • availability of the files – maybe you are now using these files from cloud (like One Drive/Dropbox) resource?

    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    Avatar photomlryan

    Thanks for this. It might have been lack of availability of files as I freed up space on my local drive by offloading to OneDrive. I brought them back to the local drive so I could back them up before reinstall the software. Working now. Thanks for the response.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.