title: Cannot find module gulp.js when publishing to Azure
body: <p>I've got a website project in Visual Studio based on the MVC5 project template and published it successfully to Azure continuously.</p>
  
  <p>Since I moved my TFVC workspace from one drive (C:) to another and (Z:) by creating a new workspace and getting latest from source control I got publishing issues:</p>
  
  <blockquote>
    <p>module.js:327<br />
    at node.js:999:3<br />
    The 'prepublish' script failed with status code 1.<br />
    at Function.Module._load (module.js:276:25)<br />
    ^<br />
    at Function.Module.runMain (module.js:429:10)<br />
    at startup (node.js:139:18)<br />
    throw err;<br />
    at Function.Module._resolveFilename (module.js:325:15)<br />
    Cannot find module 'Z:...Website\node_modules\gulp\bin\gulp.js'</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/PWntm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PWntm.png" alt="enter image description here"></a></p>
  
  <p>My prepublish commands in the <em>project.json</em> file:</p>
  
  <pre><code>"prepublish": [ "npm install", "bower install", "gulp clean", "gulp min" ]
  </code></pre>
  
  <p>After hours of updating extensions and packages, and running npm commands, I'm lost. Any hint to solve this issue would be appreciated.</p>
  
  <p>I followed this SO question <a href="https://stackoverflow.com/questions/35158159/node-js-error-in-azure-build">Node.js error in Azure build</a> and changed my prepublish command to this:</p>
  
  <pre><code>"prepublish": [ "npm install", "bower install" ]
  </code></pre>
  
  <p>That allowed me to publish again, but I'd like to run the gulp commands before publishing.</p>