title: nx command not found on gitlab-runner
body: <p>I have installed nx globally using Sudo</p>
  <pre><code>sudo npm install -g nx
  </code></pre>
  <p>and it works fine, but sometimes it gives the below error</p>
  <pre><code>bash: line 136: nx: command not found
  </code></pre>
  <p>After retry, it works fine again.</p>