title: How to run Argon2 on a Node.js server on Google Cloud Platform?
body: <p>I'm curently building a web app on Google App Engine Standard env. using Node.js 10.16.3. I would like to use <a href="https://www.npmjs.com/package/argon2" rel="nofollow noreferrer">Argon2 package</a>. Unfortunately, I can't figure out how to install it locally on Windows7 and have no idea how on gcloud either.</p>
  
  <p>It is said on the package page that:</p>
  
  <blockquote>
    <p>"Before installing : You MUST have a node-gyp global install before proceeding with install, along with GCC >= 5 / Clang >= 3.3. On Windows, you must compile under Visual Studio 2015 or newer."</p>
  </blockquote>
  
  <p>I've installed node-gyp globally <code>npm install -g node-gyp</code> as well as Python lastest version which is required. I also installed <a href="https://sourceforge.net/projects/mingw-w64/files/" rel="nofollow noreferrer">GCC</a> and then used <code>npm install argon2</code> to install the package where my project is. I'm not sure to understand the Visual Studio part.</p>
  
  <p>When trying to run the serveur with <code>npm start</code>, I get this error:</p>
  
  <pre><code>Error: myproject\node_modules\argon2\lib\binding\argon2.node is not a valid application
      at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
      at Module.load (internal/modules/cjs/loader.js:653:32)
      at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
      at Function.Module._load (internal/modules/cjs/loader.js:585:3)
      at Module.require (internal/modules/cjs/loader.js:692:17)
      at require (internal/modules/cjs/helpers.js:25:18)
      at Object.&lt;anonymous&gt; (C:\Users\me\myproject\node_modules\argon2\argon2.js:9:56)
      at Module._compile (internal/modules/cjs/loader.js:778:30)
      at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
      at Module.load (internal/modules/cjs/loader.js:653:32)
      at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
      at Function.Module._load (internal/modules/cjs/loader.js:585:3)
      at Module.require (internal/modules/cjs/loader.js:692:17)
      at require (internal/modules/cjs/helpers.js:25:18)
      at Object.&lt;anonymous&gt; (C:\Users\me\myproject\www\server\server.js:3:16)
      at Module._compile (internal/modules/cjs/loader.js:778:30)
  npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! myproject@0.0.1 start: `node www/server/server.js`
  npm ERR! Exit status 1
  npm ERR!
  npm ERR! Failed at the myproject@0.0.1 start script.
  npm ERR! This is probably not a problem with npm. There is likely additional log
  ging output above.
  </code></pre>
  
  <p>Am I missing something ? <code>node-gyp</code> are also not recognized</p>