Download
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.

Installed new app gives a Javascript error.

  • #3905
    Avatar photo[anonymous]

    I downloaded the new Beta today and during the start of the app  a Javascript Error occurred.

    My computer runs on macOS Catalina 10.16.6

    Heinrich

    Here is the error: 
    <p class=”p1″>Uncaught Exception:</p>
    <p class=”p1″>Error: ENOENT: no such file or directory, scandir ‘/Users/HLiesner/Desktop/PUBLII'</p>
    <p class=”p1″><span class=”Apple-converted-space”>    </span>at Object.readdirSync (fs.js:854:3)</p>
    <p class=”p1″><span class=”Apple-converted-space”>    </span>at Object.fs.readdirSync (electron/js2c/asar.js:605:39)</p>
    <p class=”p1″><span class=”Apple-converted-space”>    </span>at App.loadSites (/Applications/Publii.app/Contents/Resources/app.asar/back-end/app.js:305:24)</p>
    <p class=”p1″><span class=”Apple-converted-space”>    </span>at new App (/Applications/Publii.app/Contents/Resources/app.asar/back-end/app.js:70:14)</p>
    <p class=”p1″><span class=”Apple-converted-space”>    </span>at App.<anonymous> (/Applications/Publii.app/Contents/Resources/app.asar/main.js:36:19)</p>
    <p class=”p1″><span class=”Apple-converted-space”>    </span>at App.emit (events.js:215:7)</p>
    <p class=”p1″><span class=”Apple-converted-space”>    </span>at App.EventEmitter.emit (domain.js:476:20)</p>
    <p class=”p1″><span class=”Apple-converted-space”>    </span>at App.topLevelDomainCallback (domain.js:131:23)</p>
     

    #3906
    Avatar photoBob

    It seems like Publii lost a site location. Go to the app’s settings (3 dots in the top right corner) and change the site’s location by going to that location /Users/HLiesner/Desktop/PUBLII