Sign in

Javascript error while syncing website

  • This topic has 3 replies, 2 voices, and was last updated 7 months, 2 weeks ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #9871
    Avatar photojfrere

    Publii 0.42.1

    Windows 11 22H2 22621.1555

    FTP sync. Test connection works fine.

    But sync website display javascript error occured in the main process message.


    Avatar photojfrere

    Here’s the error message attached.

    There’s also an error if I try to preview site, apparently some javascript module is not where it should be.

    Copy of rendering-errors.log

    const err = new Error(message);

    Error: Cannot find module ‘C:\Users\jf\Documents\Publii\plugins\imageDecoding\main.js’
    Require stack:
    – C:\Users\jf\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\renderer.js
    – C:\Users\jf\AppData\Local\Programs\Publii\resources\app.asar\back-end\workers\renderer\preview.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:963:15)
    at Module._load (node:internal/modules/cjs/loader:811:27)
    at f._load (node:electron/js2c/asar_bundle:2:13330)
    at Module.require (node:internal/modules/cjs/loader:1035:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Renderer.loadPlugins (C:\Users\jf\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\renderer.js:1896:34)
    at new Renderer (C:\Users\jf\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\renderer.js:89:14)
    at process.<anonymous> (C:\Users\jf\AppData\Local\Programs\Publii\resources\app.asar\back-end\workers\renderer\preview.js:13:24)
    at process.emit (node:events:513:28)
    at emit (node:internal/child_process:939:14) {
    code: ‘MODULE_NOT_FOUND’,
    requireStack: [



    from the error message “Cannot find module ‘C:\Users\jf\Documents\Publii\plugins\imageDecoding\main.js’” I would suggest to reinstall the imageDecoding plugin, which misses a main.js for whatever reason,  and retry after that.

    Avatar photojfrere

    Ok, got it. I forgot to reinstall the plugins I used on a website I’ve restored from a backup file… I thought the backup included the plugins.

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