最近,我下载了这版本的GeoGebra,在提取了zip文件的组件之后,每次我尝试使用./GeoGebra通过终端启动它时,都会出现以下错误:
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module './ggb-config.js'
at Module._resolveFilename (module.js:470:15)
at Function.Module._resolveFilename (/home/<username>/Downloads/GeoGebra-linux-x64/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/<username>/Downloads/GeoGebra-linux-x64/resources/app/main.js:19:19)
at Object.<anonymous> (/home/<username>/Downloads/GeoGebra-linux-x64/resources/app/main.js:375:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)发布于 2017-11-22 09:16:04
这个方法对我有效:
sudo touch /usr/share/geogebra-classic/resources/app/ggb-config.js对于与geogebra-classic_6.0.400.0-201711172340_amd64.deb版本相同的错误,请找到这里。
来源:https://help.geogebra.org/topic/geogebra-classic_6-0-400-0-201711172340_amd64 64-deb-是坏的
https://askubuntu.com/questions/978877
复制相似问题