Just found this, warning can be ignored it will be fixed in the coming updates
Hi All,
Thanks for reporting! I hit the issue myself today while I was
working. I checked in with the Node driver team. The warning is safe
to ignore and will hopefully be gone in an upcoming release.
https://developer.mongodb.com/community/forums/t/warning-accessing-non-existent-property-mongoerror-of-module-exports-inside-circular-dependency/15411/6