Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Chron's avatar
Level 6

how to remove a npm package?

I tried npm uninstall <package>, it was removed in package.json but the package itself still exists in node_modules. Should I just delete the folder manually?

0 likes
1 reply
MichalOravec's avatar
Level 75

Don't remove anything from node_modules, maybe another package needs that package as dependency.

1 like

Please or to participate in this conversation.