Open aspiringpro opened 5 years ago
Did you get any errors after the update?
What do I update?
On Tue, Apr 23, 2019, 4:13 PM Jay V notifications@github.com wrote:
Did you get any errors after the update?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AnomalyInnovations/serverless-nodejs-starter/issues/41#issuecomment-486007424, or mute the thread https://github.com/notifications/unsubscribe-auth/ACNTVLUQ7HJXJHYMPGIZF4LPR6JX5ANCNFSM4HHTZEQQ .
After running the audit fix, it should have updated the packages for you right? Did you run into any errors after that?
After running npm audit fix
, it displays the following:
+ serverless-webpack@5.3.0
added 7 packages from 5 contributors, removed 1 package and updated 10 packages in 5.442s
fixed 222 of 364 vulnerabilities in 23650 scanned packages
4 vulnerabilities required manual review and could not be updated
2 package updates for 138 vulns involved breaking changes
(use `npm audit fix --force` to install breaking changes; or refer to `npm audit` for steps to fix these manually)
So this does require some manual review.
The package-lock.json file is outdated.
To fix this I deleted the package-lock.json file and ran:
npm i
To install more updated versions of the packages and everything works fine without any npm audit warnings.
You can try with npm update also.
I get the following in my console:
When I run npm audit I get this