DEV Community

loading...
Cover image for Fix Mongo db Compass 'Initializing' screen error

Fix Mongo db Compass 'Initializing' screen error

debugagrawal profile image Deepak Vijay Agrawal ・1 min read

πŸ‘¨β€πŸ’» Finally Fixed

Namaste everyone !


While installing a new software 80% percent chances are that your software will run perfectly fine,
but sometimes due to improper installation, the software does not work properly and finding the issue and then solution for it is quite time consuming also sometimes hard to find the solution


While installing MongoDB Compass on your machine many of you must have been stuck on your INITIALIZING COMPASS / ACTIVATING PLUGINS screen and unable to fix it.


I came across the same issue and was unable to find a way to fix it,
In the developers tools in compass there was an error message shown

Error: Command failed: powershell (Get-CimInstance -ClassName Win32_OperatingSystem).caption
'powershell' is not recognized as an internal or external command,
operable program or batch file
Enter fullscreen mode Exit fullscreen mode

This occurs most probably because of Windows failing to add the MongoDB path so we have to do that manually.

This error can be resolved easily by just adding

C:\Windows\System32\wbem
Enter fullscreen mode Exit fullscreen mode

in your path of user variables in Environment variables


Just follow the steps :

  • Copy (above path)
  • goto Advance system settings
  • select Advanced
  • select Environmental Variables
  • select Path (User variables)
  • Edit
  • New
  • Paste and OK.

Reopen you Mongodb Compass


And Viola it's resolved πŸš€πŸ’―

Discussion (2)

pic
Editor guide
Collapse
saif5017 profile image
Saif5017

you are a good man thank you!

Collapse
debugagrawal profile image
Deepak Vijay Agrawal Author

Your Welcome,
I'm glad it helped you 😊