Skip to content

Instantly share code, notes, and snippets.

@drazisil
Created February 29, 2020 17:55
Show Gist options
  • Save drazisil/8859b3512b0f346f7b67d74e9c57c7e0 to your computer and use it in GitHub Desktop.
Save drazisil/8859b3512b0f346f7b67d74e9c57c7e0 to your computer and use it in GitHub Desktop.
npx lockfile-lint --path npm-shrinkwrap.json --allowed-hosts npm yarn --validate-https
npx: installed 33 in 2.348s
ABORTING lockfile lint process due to error exceptions
Unable to find relevant lockfile parser for "npm-shrinkwrap.json", consider passing the --type option.
Error
at new ParsingError (/home/drazisil/.npm/_npx/12990/lib/node_modules/lockfile-lint/node_modules/lockfile-lint-api/src/common/ParsingError.js:27:33)
at ParseLockfile.parseSync (/home/drazisil/.npm/_npx/12990/lib/node_modules/lockfile-lint/node_modules/lockfile-lint-api/src/ParseLockfile.js:53:13)
at ValidateHostManager (/home/drazisil/.npm/_npx/12990/lib/node_modules/lockfile-lint/src/validators/index.js:40:27)
at validators.forEach.validator (/home/drazisil/.npm/_npx/12990/lib/node_modules/lockfile-lint/src/main.js:35:28)
at Array.forEach (<anonymous>)
at Object.runValidators (/home/drazisil/.npm/_npx/12990/lib/node_modules/lockfile-lint/src/main.js:25:14)
at Object.<anonymous> (/home/drazisil/.npm/_npx/12990/lib/node_modules/lockfile-lint/bin/lockfile-lint.js:31:17)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
error: command failed with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment