title: ENOLOCK npm ERR! Error while running npm audit fix
body: <p>I am trying to install GLOBALLY a package with npm from my home directory. After the install has completed, it indicates vulnerabilities. Upon trying to run <code>npm audit fix</code>, I obtain the following error.</p>
  <blockquote>
  <p>npm ERR! code ENOLOCK npm ERR! audit This command requires an existing
  lockfile. npm ERR! audit Try creating one first with: npm i
  --package-lock-only npm ERR! audit Original error: loadVirtual requires existing shrinkwrap file</p>
  </blockquote>
  <p>I understand that the error asks me to run <code>npm i --package-lock-only</code>, but in which directory should I be creating this file? Running the command without specifying a path does not work. I have also tried to create the file in the directory where the package was installed, but that has also not solved the issue. Also, why isn't this file present to start with?</p>