title: run typescript compiler from shell command - permission denied
body: <p>I'm using Parallels because I prefer the Mac OS but the work we do is all in Visual Studio.  We currently have a build.cmd batch file that builds our typescript files.  Because I'd prefer to work on the Mac side when I can, I thought I would rewrite the script in bash and to also get some experience writing a shell script.  I have a main <code>build.sh</code> command that runs the other shell scripts like <code>compile-templates.sh</code> and <code>compile-source.sh</code>.  I am trouble with the compile-source.sh portion now. Currently, the batch file looks like:</p>
  
  <pre><code>echo TypeScript Version:
  CALL node_modules\.bin\tsc  -v
  </code></pre>
  
  <p>The typescript compiler is included in our Solution so we are all using the same one throughout the solution.  In my compile-source.sh, I try to do this:</p>
  
  <pre><code>node_modules/.bin/tsc -v 
  </code></pre>
  
  <p>or this</p>
  
  <pre><code>./node_modules/.bin/tsc -v 
  </code></pre>
  
  <p>And I get permission denied.  Is there something I'm doing wrong?  </p>