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 is not and can not be a substitute for the x86 version. Graphical Analysis, Spectral Analysis and Instrumental Analysis are 32-bit (x86) programs.

Note: When installing Graphical Analysis, Spectral Analysis, or Instrumental Analysis using a silent installer, the x86 redistributable must be installed manually if not already installed on the computers.

Fixing the Error

  1. 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…

Microsoft Visual C++ 2015-2019 Redistributable (x86) 14.29.30133

Note: x86 and a version of 14.xx are most important; the exact year and version can vary.

  1. If you do have the x86 redistributable, remove it. If you do not have it, skip to step 4.

Note: Make sure you don’t remove the x64 version by mistake. Doing so will not affect the Vernier Analysis apps, but it will break other applications that depend on that redistributable.

  1. Reboot your computer.
  1. Install the x86 redistributable. The file is here: vc_redist.x86.exe

Note: The file can be distributed silently using the command: “vc_redist.x86.exe /q”.

See also:
Why is Logger Pro/Logger Lite giving an error about mfc140u.dll or 0xc000007b?

MESSAGE TEXT DUPLICATED HERE FOR SEARCH PURPOSES
A JavaScript error occurred in the main process
Uncaught Exception:
Error: The specified module could not be found.
\\?\C:\Program Files (x86)\Vernier Graphical Analysis\resources\app\resources\vstGrpcNodeModule.node
at Error (native)
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:178:20)
at Object.Module._extensions..node (module.js:583:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:178:20)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (C:\Program Files (x86)\Vernier Graphical Analysis\resources\app\resources\grpc_server.js:1:93)