Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package.json with local dependency, npm audit command returns "ELOCKVERIFY ERROR" #859

Closed
ale-grosselle opened this issue Feb 19, 2020 · 2 comments

Comments

@ale-grosselle
Copy link

ale-grosselle commented Feb 19, 2020

What / Why

I have a package.json with a local dependency, "file:libs/thron-ux-helpers".
After "npm install", i run "npm run audit" and after a few seconds, I obtain "code ELOCKVERIFY"

image

When

  • n/a

Where

npm local dependency

How

Current Behavior

Got error when run npm audit with a local dependecy

Steps to Reproduce

  • Add local dependency in your package.json
  • npm install
  • now npm audit
@ale-grosselle ale-grosselle changed the title [BUG] <title> Package.json with local dependency, npm audit get ELOCKVERIFY Feb 19, 2020
@ale-grosselle ale-grosselle changed the title Package.json with local dependency, npm audit get ELOCKVERIFY package.json with local dependency, npm audit command returns "ELOCKVERIFY ERROR" Feb 19, 2020
@CherryDT
Copy link

CherryDT commented Nov 17, 2021

@darcyclarke Why was this closed? It still happens.

@kouhei
Copy link

kouhei commented Nov 25, 2021

https://npm.community/t/npm-audit-fails-to-audit-packages-with-a-local-dependency-in-npm-v6-9-0/6006.html

removing the requires block from the package-lock.json file allows npm audit to run successfully.

this solution works. But it still hasn't reached a basic resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants