Hello Everyone, Show
While installing Microsoft Teams, the error message described in the subject line is thrown. Am running Microsoft Windows Version - 1909 A couple of troubleshooting tips found on https://docs.microsoft.com/en-us/MicrosoftTeams/troubleshoot-installation have been tried but the error still shows up. Any idea on how to resolve this issue will be greatly appreciated. UPDATES I did a comparison of 2 SquirrelSetup.log files. (Both PC runs Windows 1909 and the same build number. The PC 1(Throwing up the JavaScript error above)logged some issues not found in the PC 2 as shown below: ----start---- ApplyReleasesImpl: Couldn't run Squirrel hook, continuing:
C:\Users\Administrator\AppData\Local\Microsoft\Teams\current\Teams.exe: ---end---- FURTHER UPDATES Many suggestions found on GitHub, Microsoft support site, blogs and other websites have been tried. So after spending several hours googling and searching for a working solution, the following finally worked on the PC in question.
N.B: I am still not satisfied with this fix, cos i applied the same troubleshooting approach on another PC throwing up the same JavaScript error, and the fix doesn't work on it. :) Although most people don’t know the first thing about JavaScript, it’s responsible for powering most of what you see on the internet. Thus, JavaScript errors have the potential to be a big deal. Fortunately, we have a quick fix available to us in this case. Solution A: Solution B: At this time: two
methods exist to resolve your issue. The first method involves the reinstallation of your redistributable visual c++ files. Alternatively, you can replace your Microsoft Teams installation with a new one. A step-by-step guide has been provided for both methods. For your convenience: take advantage of the following links— you can access content faster. The following method aims to correct the isolated source of the problem. Think of replacing a faulty component within a device for a better analogy. The “Run” prompt is accessed via the shortcut In the “Run” prompt’s text field: enter Step 3 — Uninstall Microsoft Visual C++ RedistributablesSelect files containing “Microsoft Visual C++ Redistributables.” After, click “Uninstall” via the action bar (above the list). Step 4 — Reinstall the latest Microsoft Visual C++ RedistributablesIf you’ve uninstalled each redistributable, you can proceed to reinstall the latest ones from Microsoft’s support page. Please avoid downloads from unofficial sources. When using an unofficial source, you risk exposing your system to harmful malware. For instance: trojans or ransomware. Reinstalling Microsoft TeamsUnlike the last method, the following method aims to avoid escaping the problem completely. If we’re to re-use the last analogy, this would be replacing the device with a fault as a whole. Step 1 — Open the Windows/Start menuTo begin, open the start menu. You can do this in two ways: pressing the Step 2 — Search “add or remove programs”In the start menu, click the search field and enter “add or remove programs.” Select the application as shown below. Step 3 — Uninstall Microsoft TeamsFind Microsoft Teams within the application list— click the app followed by “Uninstall” afterward. Step 4 — Reinstall Microsoft TeamsHead over to Teams’ download page. Once you’re there, you’ll immediately notice the “Download for desktop” button. Clicking the button will initiate the download for Microsoft Teams’ installer. Once the download is completed, open it up. Blog post recapMicrosoft Teams’ main process may experience a JavaScript error from time to time. This issue can be resolved by reinstalling Microsoft Teams or its problematic dependencies. The dependencies in question are Microsoft Visual C++ Redistributables. Either method should suffice; however, you should still attempt both methods if one fails. If you liked this post, you might enjoy one of our related posts. No hard feelings if you don’t check them out.
Recent Posts
How to connect organizations in Microsoft Teams If you work with multiple organizations, it may be inconvenient for you to switch between accounts. However, Microsoft Teams lets you connect your organizations easily by giving access to guests.... How do I fix JavaScript errors in Microsoft Teams?How to fix the Microsoft Teams error “A Javascript error occurred in the main process”. Use Win/Start+R.. Enter appwiz. cpl.. Hit “OK”. Uninstall “Visual C++” files.. Reinstall Microsoft Visual C++ Redistributables.. How do you fix the A JavaScript error occurred in the main process?Re: Windows - A JavaScript error occurred in the main process. Open Control Panel > Uninstall a program.. Locate latest Microsoft Visual C++ (64bit) and click on Change (If you're using 64 bit version of Teams, maybe you need x86). Click on Repair.. Enter your Admin credentials to perform repair.. How do I get rid of script errors on my team?Disable Script Error Notifications. Type Internet Options in the Windows Search bar and double-click on the first result.. Then navigate to the Advanced tab and go to Browsing.. Uncheck the following options: Display a notification about every script error. ... . Apply the changes and launch Teams again.. Does Microsoft Teams use JavaScript?This JavaScript library is part of the Microsoft Teams developer platform. See full SDK reference documentation.
|