title: Failed to install mongo db in Mac Big Sur
body: <p>I am a newbie in <code>mongo db</code> and trying to install in my <code>Mac Big Sur OS</code>. It is a public beta OS. <br>
  While install the <code>Mongo DB</code>, I am getting the below error:<br></p>
  <pre><code>Error: An exception occurred within a child process:
  NoMethodError: undefined method 'path' for nil:NilClass
  Did you mean paths?
  </code></pre>
  <p>I have the latest Xcode installed. The steps I followed are from Official MongoDB <a href="https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/" rel="nofollow noreferrer">documentation</a> url.</p>
  <p>Please help if there is a solution.</p>