{"id":4103,"date":"2017-11-16T20:01:37","date_gmt":"2017-11-17T04:01:37","guid":{"rendered":""},"modified":"2025-09-03T15:06:52","modified_gmt":"2025-09-03T22:06:52","slug":"4103","status":"publish","type":"post","link":"https:\/\/www.vernier.com\/til\/4103","title":{"rendered":"I get a JavaScript error when I try to run Graphical Analysis (and other Vernier analysis apps) on Windows computers."},"content":{"rendered":"<p class=\"wp-block-paragraph\">A JavaScript error, like the one shown below, is caused by a corrupt or missing <strong>x86 Microsoft Visual C++ redistributable<\/strong> file. Having an x64 redistributable <em><strong>is not<\/strong><\/em> and <em><strong>can not be<\/strong><\/em> a substitute for the x86 version. Graphical Analysis, Spectral Analysis and Instrumental Analysis are 32-bit (x86) programs.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"567\" height=\"336\" src=\"https:\/\/www.vernier.com\/til\/wp-content\/uploads\/sites\/2\/2017\/11\/image.png\" alt=\"\" class=\"wp-image-23366\"\/><\/figure>\n<\/div>\n<p class=\"has-very-light-gray-background-color has-background wp-block-paragraph\"><strong>Note: <\/strong>When installing Graphical Analysis, Spectral Analysis, or Instrumental Analysis using <a href=\"https:\/\/www.vernier.com\/til\/4199\/\">a silent installer<\/a>, the x86 redistributable must be installed manually if not already installed on the computers.<\/p>\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<h3 class=\"wp-block-heading\">Fixing the Error<\/h3>\n<ol class=\"wp-block-list\">\n<li>Go into Add\/Remove Programs and check to see if you have the Microsoft Visual C++ x86 redistributable, version 14. The listing will be similar to&#8230;<\/li>\n<\/ol>\n<h3 class=\"wp-block-heading has-text-align-center\"><small><strong>Microsoft Visual C++ 2015-2019 Redistributable (x86) 14.29.30133<\/strong><\/small><\/h3>\n<p class=\"has-text-align-center has-very-light-gray-background-color has-background wp-block-paragraph\"><em><strong>Note: x86<\/strong> and a version of <strong>14.xx<\/strong> are most important<\/em>; <em>the exact year and version can vary.<\/em><\/p>\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<ol start=\"2\" class=\"wp-block-list\">\n<li>If you do have the x86 redistributable, remove it. If you do not have it, skip to step 4.<\/li>\n<\/ol>\n<p class=\"has-text-align-center has-very-light-gray-background-color has-background wp-block-paragraph\"><em><strong>Note:<\/strong> Make sure you don&#8217;t remove the <strong>x64<\/strong> version by mistake. Doing so will not affect the Vernier Analysis apps, but it will break other applications that depend on that redistributable.<\/em><\/p>\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Reboot your computer.<\/li>\n<\/ol>\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<ol start=\"4\" class=\"wp-block-list\">\n<li>Install the x86 redistributable. The file is here: <a href=\"https:\/\/d1zt81d93mquk0.cloudfront.net\/til\/4047\/vc_redist.x86.exe\">vc_redist.x86.exe<\/a><\/li>\n<\/ol>\n<p class=\"has-text-align-center has-very-light-gray-background-color has-background wp-block-paragraph\"><strong>Note:<\/strong> The file can be distributed silently using the command: \u201cvc_redist.x86.exe \/q\u201d.<\/p>\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<p class=\"wp-block-paragraph\"><strong>See also:<\/strong><br \/><a href=\"\/til\/4047\/\">Why is Logger <i>Pro<\/i>\/Logger Lite giving an error about mfc140u.dll or 0xc000007b?<\/a><\/p>\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<p class=\"has-very-light-gray-background-color has-background has-small-font-size wp-block-paragraph\"><strong>MESSAGE TEXT DUPLICATED HERE FOR SEARCH PURPOSES<\/strong><br \/><em>A JavaScript error occurred in the main process<br \/>Uncaught Exception:<br \/>Error: The specified module could not be found.<br \/>\\\\?\\C:\\Program Files (x86)\\Vernier Graphical Analysis\\resources\\app\\resources\\vstGrpcNodeModule.node<br \/>at Error (native)<br \/>at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:178:20)<br \/>at Object.Module._extensions..node (module.js:583:18)<br \/>at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:178:20)<br \/>at Module.load (module.js:473:32)<br \/>at tryModuleLoad (module.js:432:12)<br \/>at Function.Module._load (module.js:424:3)<br \/>at Module.require (module.js:483:17)<br \/>at require (internal\/module.js:20:19)<br \/>at Object. (C:\\Program Files (x86)\\Vernier Graphical Analysis\\resources\\app\\resources\\grpc_server.js:1:93)<\/em><\/p>","protected":false},"excerpt":{"rendered":"<p>A JavaScript error, like the one shown below, is caused by a corrupt or missing x86 Microsoft Visual C++ redistributable file. Having an x64 redistributable&#8230;<\/p>\n","protected":false},"author":2166,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[],"tags":[4382,6816,6913],"class_list":["post-4103","post","type-post","status-publish","format-standard","hentry","tag-ga4","tag-graphical-analysis-4","tag-vc_redist"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.vernier.com\/til\/wp-json\/wp\/v2\/posts\/4103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vernier.com\/til\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vernier.com\/til\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vernier.com\/til\/wp-json\/wp\/v2\/users\/2166"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vernier.com\/til\/wp-json\/wp\/v2\/comments?post=4103"}],"version-history":[{"count":0,"href":"https:\/\/www.vernier.com\/til\/wp-json\/wp\/v2\/posts\/4103\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vernier.com\/til\/wp-json\/wp\/v2\/media?parent=4103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vernier.com\/til\/wp-json\/wp\/v2\/categories?post=4103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vernier.com\/til\/wp-json\/wp\/v2\/tags?post=4103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}