title: npm install from tgz created with npm pack
body: <p>I've created a <code>.tgz</code> file with <code>npm pack</code>. When trying to install it <code>npm</code> prints out the following error:</p>
  
  <pre><code>D:\tmp&gt;npm install package-0.0.1.tgz
  npm WARN saveError ENOENT: no such file or directory, open 'D:\tmp\package.json'
  npm notice created a lockfile as package-lock.json. You should commit this file.
  npm WARN enoent ENOENT: no such file or directory, open 'D:\tmp\package.json'
  npm WARN tmp No description
  npm WARN tmp No repository field.
  npm WARN tmp No README data
  npm WARN tmp No license field.
  </code></pre>
  
  <p>It looks like <code>npm</code> for some reason does not extract the contents of my <code>.tgz</code> package, meaning all the <code>.js</code> files, <code>package.json</code> etc. although everything is there. Apparently it only tries to install the dependencies listed in my package.
  Should it really work this way or I'm doing something wrong?</p>