title: Installing multiple node modules with batch file
body: <p>I am trying to write a batch file that will install node modules from, and in, different directories.  My problem is that the script is navigating to the foo directory and executing npm install but then it won't execute the other two do() commands.  </p>
  
  <pre><code>do(
      cd foo
      npm install
  )
  
  do(
      cd ../bar
      npm install
  )
  
  do(
      cd ../again
      bower install
  )
  </code></pre>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I've also tried the following in a .bat file</p>
  
  <pre><code>call Install_Node_Components_Site.bat
  
  call Install_Bower_Components.bat
  
  call Install_Node_Components_Test.bat
  </code></pre>
  
  <p>The Install_Node_Components_Site.bat file is very basic and looks like this.</p>
  
  <pre><code>cd foo
  npm install
  </code></pre>
  
  <p>The foo directory has the packages.json file so my thinking is that I can just call npm install like I normally would from the command line.</p>