Skip to content

Instantly share code, notes, and snippets.

@amrvitale
Created July 18, 2020 20:51
Show Gist options
  • Select an option

  • Save amrvitale/449b277b73b66d3f05cad49f3c423e9e to your computer and use it in GitHub Desktop.

Select an option

Save amrvitale/449b277b73b66d3f05cad49f3c423e9e to your computer and use it in GitHub Desktop.
npm run deploy
> draftling-capstone-api@1.0.0 predeploy C:\Users\abumgarner\Desktop\draftling-capstone-api
> npm audit && npm run migrate:production
=== npm audit security report ===
# Run npm install --save-dev mocha@8.0.1 to resolve 1 vulnerability
SEMVER WARNING: Recommended action is a potentially breaking change
Low Prototype Pollution
Package minimist
Dependency of mocha [dev]
Path mocha > mkdirp > minimist
More info https://npmjs.com/advisories/1179
# Run npm update lodash --depth 3 to resolve 2 vulnerabilities
Low Prototype Pollution
Package lodash
Dependency of knex
Path knex > lodash
More info https://npmjs.com/advisories/1523
Low Prototype Pollution
Package lodash
Dependency of winston
Path winston > async > lodash
More info https://npmjs.com/advisories/1523
found 3 low severity vulnerabilities in 433 scanned packages
run `npm audit fix` to fix 2 of them.
1 vulnerability requires semver-major dependency updates.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! draftling-capstone-api@1.0.0 predeploy: `npm audit && npm run migrate:production`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the draftling-capstone-api@1.0.0 predeploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\abumgarner\AppData\Roaming\npm-cache\_logs\2020-07-18T20_49_43_933Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment