Level 75
Don't remove anything from node_modules, maybe another package needs that package as dependency.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
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?
Don't remove anything from node_modules, maybe another package needs that package as dependency.
Please or to participate in this conversation.