DEV Community

Discussion on: Would you use NPM (not Yarn or PNPM) in Sep 2020?

Collapse
zoedreams profile image
☮️✝️☪️🕉☸️✡️☯️

Yarn for sure. yarn will require a sudo for commands, where as some modules can force npm to gain root access on your machine. I highly recommend disabling your npm, and use yarn. thank you.

Collapse
maxdevjs profile image
maxdevjs

Wait... to install node modules with sudo...?

Collapse
zoedreams profile image
☮️✝️☪️🕉☸️✡️☯️

sometimes modules can contain native code that may access protected files.

Collapse
zoedreams profile image
☮️✝️☪️🕉☸️✡️☯️

ya dont do that.!!! unless you know what they are doing

Thread Thread
maxdevjs profile image
maxdevjs

never did. But now I am curious...