title: Unable to load plugin clean-css please make sure that it is installed under or at the same level as less
body: <p>I have a bash script that minifies all my less files and outputs the result into a .min.css file. I have already looked at other answers on similar questions, but nothing works. After updating to Mac OS Catalina today my bash script stopped working and is giving this error:</p>
  
  <blockquote>
    <p>Unable to load plugin clean-css please make sure that it is installed
    under or at the same level as less</p>
  </blockquote>
  
  <p>This is part of the contents of my minify bash script :</p>
  
  <pre><code>YOORS=$(pwd)
  ...
  cd ${PROJECT}/less
  ...
  
  printf "%-${WIDTH}s %10s\n" "Compiling lessfile content" $(~/node_modules/.bin/lessc --clean-css plugins/lessfile.less &gt; ${PROJECT}/web/css/plugins/lessfile.min.css &amp;&amp; echo "${GREEN}[OK]${NC}" || echo "${RED}[FAIL]${NC}")
  </code></pre>
  
  <p>It is weird, since firing the command in the command line works perfectly fine, but the bash script suddenly stopped working.</p>
  
  <p>Clean-css is installed on my pc: </p>
  
  <pre><code>MacBook-Pro:yoors user$ cleancss -v
  4.3.0
  </code></pre>