title: Hyperledger fabric installtion issue - while trying to install npm
body: <p>Hello I am trying to setup the first application with HyperLedgerFabric</p>
  
  <p>I am Following this <a href="https://hyperledger-fabric.readthedocs.io/en/release-1.4/write_first_app.html#" rel="nofollow noreferrer">post</a>, I have set up the network properly everything seems perfect the issue is only with the npm install whenever I try to install npm using <code>npm install</code> or <code>sudo npm install</code> command
  it show me below errors.</p>
  
  <pre><code>build error
  stack Error: `make` failed with exit code: 2
  stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
  stack     at emitTwo (events.js:126:13)
  stack     at ChildProcess.emit (events.js:214:7)
  stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
  System Linux 4.8.0-53-generic
  command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  cwd /home/dinesh/Documents/fabric-samples/fabcar/node_modules/pkcs11js
  node -v v8.11.0
  gyp ERR! node-gyp -v v3.6.2
  gyp ERR! not ok 
  npm WARN fabcar@1.0.0 No repository field.
  
  npm ERR! code ELIFECYCLE
  errno 1
  npm ERR! pkcs11js@1.0.17 install: `node-gyp rebuild`
  Exit status 1
  
  
  
  Failed at the pkcs11js@1.0.17 install script.
  </code></pre>
  
  <p>Can anyone help me with this?</p>
  
  <p>Thanks in advance</p>
  
  <blockquote>
    <p>gyp ERR! stack Error: EACCES: permission denied, mkdir '/var/www/html/fabric-samples/fabcar/javascript/node_modules/pkcs11js/build'</p>
  </blockquote>