Problem with GeoGebra Classic - Recent Versions on Raspberry Pi
I tried to install the latest version of GeoGebra Classic (geogebra-classic_6.0.511.0-201811221406_armhf.deb) on a Raspberry Pi, and found that it did not work - when launched from the command line, it crashes with the following message:
Error: The module '/usr/share/geogebra-classic/resources/app/build/giac.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:172:20)
at Object.Module._extensions..node (module.js:598:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:172:20)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at bindings (/usr/share/geogebra-classic/resources/app/node_modules/bindings/bindings.js:76:44)
at Object.<anonymous> (/usr/share/geogebra-classic/resources/app/main.js:6:32)
Digging a little deeper, I found that this is not a recent problem - all versions from 6.0.498 onwards do not work. Additionally, some earlier versions, while they work, do so with serious performance issues, pegging the processor at 100% (e.g. all versions I tested from 6.0.481 through 6.0.496). The most recent version I tested which did not crash and performed acceptably was 6.0.471 (I did not test versions 6.0.472 through 6.0.477).
All the tests were run on a Raspberry Pi 3A+, with a fresh install of the latest Raspbian image (2018-11-13 Release) on a known-good SD card.
Would it be possible to track down the problem, and post an updated version to the Debian repositories?
Many thanks in advance for all help.