Linux Lite Forums
"JavaScript error in the main process" - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.linuxliteos.com/forums/forumdisplay.php?fid=20)
+--- Thread: "JavaScript error in the main process" (/showthread.php?tid=5134)



"JavaScript error in the main process" - Coastie - 03-30-2018

Receive the below error when I boot up and when Messenger for Desktop receives a message. I delete all gifs in messages, installed a couple of missing dependencies by Synaptic, and looked unsuccessfully for a way to turn off Java in Messenger for Desktop. Help fixing this problem will be appreciated.

JavaScript error in the main process

TypeError: Invalid Version: undefined
    at new SemVer (/opt/messengerfordesktop/resources/app.asar/node_modules/semver/semver.js:279:11)
    at compare (/opt/messengerfordesktop/resources/app.asar/node_modules/semver/semver.js:566:10)
    at Function.gt (/opt/messengerfordesktop/resources/app.asar/node_modules/semver/semver.js:595:10)
    at /opt/messengerfordesktop/resources/app.asar/scripts/browser/components/auto-updater/base.js:79:49
    at done (/opt/messengerfordesktop/resources/app.asar/node_modules/needle/lib/needle.js:432:14)
    at PassThrough.<anonymous> (/opt/messengerfordesktop/resources/app.asar/node_modules/needle/lib/needle.js:671:11)
    at emitNone (events.js:91:20)
    at PassThrough.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)


Re: "JavaScript error in the main process" - Valtam - 03-31-2018

Please contact the developer and report the bug. Cheers.


Re: "JavaScript error in the main process" - Coastie - 03-31-2018

OK. This is a Messenger for Desktop bug?  :-\


Re: "JavaScript error in the main process" - Valtam - 04-02-2018

A quick Google nets this thread - https://github.com/aluxian/Messenger-for-Desktop/issues/1346


Re: "JavaScript error in the main process" - Coastie - 04-03-2018

Thanks [member=2]Jerry[/member] , I posted too but it did not show up. Since it is a Messenger for Desktop and there have been several reports, maybe it will be fixed.


Re: "JavaScript error in the main process" - Valtam - 04-03-2018

You need an account to post there. Unlikely to be fixed, read my posts there. You should look for an alternative now.


Re: "JavaScript error in the main process" - Coastie - 04-04-2018

Not sure where I posted the bug now. Maybe wrong site.  ;D I'll try: 'The error disappears disabling the option "check for update automaticaly" in the app menu.' posted on the site you linked to.


Re: "JavaScript error in the main process" - Coastie - 04-05-2018

(04-04-2018, 03:36 AM)Coastie link Wrote: 'The error disappears disabling the option "check for update automaticaly" in the app menu.' posted on the site you linked to.

Worked.  ;D