Skip to content

Instantly share code, notes, and snippets.

@amrvitale
Created July 18, 2020 20:51
Show Gist options
  • Save amrvitale/449b277b73b66d3f05cad49f3c423e9e to your computer and use it in GitHub Desktop.
Save amrvitale/449b277b73b66d3f05cad49f3c423e9e to your computer and use it in GitHub Desktop.
npm run deploy
> [email protected] predeploy C:\Users\abumgarner\Desktop\draftling-capstone-api
> npm audit && npm run migrate:production
=== npm audit security report ===
# Run npm install --save-dev [email protected] 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! [email protected] predeploy: `npm audit && npm run migrate:production`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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