MongoDBCompassCommunity启动的时候出现a javascript error occurred in the main process

错误描述:

当我们直接通过MongoDB Compass Community右上角的关闭按钮关闭该软件后,再次打开该软件会报 “A JavaScript error occured in the main process” 这个错误。

MongoDBCompassCommunity启动的时候出现a javascript error occurred in the main process_第1张图片

解决办法:

通过命令直接杀死该进程来解决该问题,我们先打开 cmd 窗口,然后输入 taskkill /im MongoDBCompassCommunity.exe /f,然后点击Enter回车键就可以结束该进程,如下图:

在这里插入图片描述

之后该软件就可以成功启动了

当然,为了避免该问题的出现,我们在关闭该软件的时候可以通过该软件左上角的 Connect → Exit 来正确退出该软件,如下图:

MongoDBCompassCommunity启动的时候出现a javascript error occurred in the main process_第2张图片

你可能感兴趣的:(java学习之路)