title: compiler problem with solidity and truffle
body: <p>So I'm trying to learn to build NF token, and I cloned a repo. It's supposed to work with truffle.
  The thing is I have an error with the compiler, and I don't really understand.  Indeed what I know is that the solidity compiler have problems with different versions, hence working with truffle CLI that works better with different versions projects.</p>
  <p>So I tried to change to &quot;pragma solidity &gt;0.5.8 &lt;0.6.0;&quot;, I did sudo truffle compile, and still have the error.</p>
  <p>The error message I got is:</p>
  <p><a href="https://i.stack.imgur.com/7ErIX.png" rel="nofollow noreferrer">my typo</a> `Source file requires different compiler version (current compiler is 0.7.4+commit.3f05b770.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version</p>
  <p>I know that I need to find a good version of solidity and truffle, but I believe that my versions are okay :</p>
  <p><code>Truffle v5.0.5 (core: 5.0.5) Solidity v0.5.0 (solc-js) Node v14.16.0</code></p>