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

Can't find package manager files (package.json, etc.) when using --directory #55

Closed
quinnturner opened this issue Feb 27, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@quinnturner
Copy link
Member

Steps for reproduction:

audit-ci -l --directory ./test/yarn-high/

Result:

Invocation of npm audit failed:
npm ERR! code EAUDITNOLOCK
npm ERR! audit Neither npm-shrinkwrap.json nor package-lock.json found: Cannot audit a project without a lockfile
npm ERR! audit Try creating one first with: npm i --package-lock-only
npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Quinn Turner\AppData\Roaming\npm-cache\_logs\2019-02-27T00_41_24_516Z-debug.log
Exiting...

Expected:
Valid audit

@quinnturner quinnturner self-assigned this Feb 27, 2019
@quinnturner quinnturner added the bug Something isn't working label Feb 27, 2019
quinnturner added a commit to quinnturner/audit-ci that referenced this issue Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant