Messenger - JavaScript error in the main process

10,739

Solution 1

Temporal workaround that I found is to switch off the option "Check for Update Automatically" from the menu "App". This will suppress the message "JavaScript error in the main process". In result the overall behaviour of the application will be improved.

enter image description here

Further when I check for updates manually, "Checking for Update..." process never finish (as you can see on the image above) or finish with the following error message.

enter image description here

Apparently there is a problem with their update server.

Solution 2

Yes, this error is very annoying. I did the following:
I downloaded the package

messengerfordesktop-2.0.9-linux64.tar.gz 

and unpacked it into a separate folder, which I put in the TEMP. Then I created a launch shortcut on the desktop. Everything does work fine and without the boring window, as it always worked.

Solution 3

I got this and it worked fine.

Switch update channel to DEV and download the new update. After installing new update, the application should work fine.

Share:
10,739

Related videos on Youtube

ltdev
Author by

ltdev

Updated on September 18, 2022

Comments

  • ltdev
    ltdev over 1 year

    I have installed the Messenger for Desktop app on my 16.04. Everytime I launch the application I get this javascript error seing on screenshot below

    enter image description here

    However when I click OK the the app launches properly. I haven't detected any issues so far, however I was wondering if anyone else has faced the same issue and how to solve it.

    Edit I have noticed that I don't get a notification or any indication when some of my contacts texts me when the app is minimized. I'm not sure if this is a bug occured from this issue or whether is missing from the linux version in general (which probablly is still a bug)

    • pa4080
      pa4080 about 6 years
      I have the same issue. It happened for first time about a week agoo.
    • ltdev
      ltdev about 6 years
      So its probably a bug of the app??
    • pa4080
      pa4080 about 6 years
      I just write a feedback (Help->Send Feedback) with the following content: Hello, I'm using Messenger for Desktop v2.0.9-stable on Ubuntu 16.04, a week ago the app started to throw the following error message: JavaScript error in the main process. Also some conversations doesn't show. Please see this Question on AU: https://askubuntu.com/q/1022676/566421
    • pa4080
      pa4080 about 6 years
      Lykos, try to switch off the option "Check for Update Automatically" from the menu "App", I suppose this could suppress the error message.
  • abu_bua
    abu_bua almost 6 years
    Welcome to Ask Ubuntu! I recommend to edit this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)