DEV Community

Discussion on: Easily Update npm Packages Without the Fear of Breaking the Application

Collapse
 
sudogetbeer profile image
Lars

Hey nice article,

just one question: why is the sudo needed here? "sudo npm audit"
I tried it in one project and it wasn't needed on my mac.

Collapse
 
myogeshchavan97 profile image
Yogesh Chavan • Edited

Thank you. Sometimes you get permission error If we don't add it. So I mentioned it in this article.