title: How can I upgrade Libsass with npm?
body: <p>I'm currently running NPM's node-sass tool, but the version of libsass it is running is 3.2.2, and the version I need to be running is 3.2.4, as this fixes a crucial bug in one of the frameworks I am using.</p>
  <p><img src="https://i.stack.imgur.com/BWAD9.png" alt="enter image description here" /></p>
  <p>I can find no information on how to build and/or update either node-sass or libsass to meet my requirements. I am already running the latest version of node-sass, 3.1.2.</p>
  <p>Yet, my node-sass <code>package.json</code> seems to have a key:value pair which indicates libsass is at 3.2.4, yet this clearly isn't correct.</p>
  <p><strong>What is the easiest way to upgrade my version of libsass?</strong></p>
  <h1>Updates</h1>
  <h3>6 June</h3>
  <p>I have done some additional searching, and still cannot get libsass to be at a version of 3.2.4. I have tried upgrading an older package of node-sass, and checking my environment variables for overrides. No solution yet.</p>
  <h3>7 June</h3>
  <p>It does appear that the Libsass version that is sourced by node-sass is 3.2.4, yet it is not being picked up, and is defaulting to a Libass <code>binarypath</code>:</p>
  <pre><code>path.join(__dirname, '..', 'vendor', sass.binaryName.replace(/_/, '/'));
  </code></pre>
  <p>which on my machine yields:</p>
  <pre><code>H:\myproj\node_modules\gulp-sass\node_modules\node-sass\vendor\win32-x64-14\binding.node
  </code></pre>
  <p>I have no idea what this means. Take a look at <code>node-sass\lib\extensions.js</code> on line 134:</p>
  <pre><code>sass.getBinaryPath = function(throwIfNotExists) {
    var binaryPath;
  
    if (flags['--sass-binary-path']) {
      binaryPath = flags['--sass-binary-path'];
    } else if (process.env.SASS_BINARY_PATH) {
      binaryPath = process.env.SASS_BINARY_PATH;
    } else if (pkg.nodeSassConfig &amp;&amp; pkg.nodeSassConfig.binaryPath) {
      binaryPath = pkg.nodeSassConfig.binaryPath;
  
  
    // This is the only statement that executes successfully, my libsass binary path is coming from this location. Why?
    } else {
      binaryPath = path.join(__dirname, '..', 'vendor', sass.binaryName.replace(/_/, '/'));
    }
  
    if (!fs.existsSync(binaryPath) &amp;&amp; throwIfNotExists) {
      throw new Error(['`libsass` bindings not found in ', binaryPath, '. Try reinstalling `node-sass`?'].join(''));
    }
  
    return binaryPath;
  };
  
  sass.binaryPath = sass.getBinaryPath();
   
  </code></pre>