title: ENOLOCAL: can't find package.json file after publishing npm package
body: <p><strong>Ecosystem</strong></p>
  
  <pre><code>using npm@6.1.0
  using node@v8.11.1
  </code></pre>
  
  <p><strong>Context</strong></p>
  
  <p>I have a JS project that includes a local dependencie :</p>
  
  <p><em>package.json :</em></p>
  
  <pre><code>"dependencies": {
     "my_local_module": "file:my_local_module"
  },
  </code></pre>
  
  <p>Then, I published the project as <code>npm</code> private package : so far everything is OK.</p>
  
  <p><strong>Issue</strong></p>
  
  <p>When I try to install my private package, I have this issue :</p>
  
  <pre><code>33 error code ENOLOCAL
  34 error Could not install from "node_modules\@my_scope\my_project\my_local_module" as it does not contain a package.json file.
  </code></pre>
  
  <p>Of course, the <code>package.json</code> file exists. When I try to copy manually the project from gitHub instead of installing it with <code>npm</code>, it works perfectly fine but I really would like to make it works with :</p>
  
  <pre><code>npm install @my_scope\my_project 
  </code></pre>
  
  <p>Is there a specific way to publish packages when they include local dependencies or anything like that ? Thank you for your help.</p>