Cant Uninstall NPM Packages

I am trying to uninstall multiple npm packages with npm uninstall (packages) but replit seems to just reinstall them when I re-run it I've tried everything nothing seems to work

You are viewing a single comment. View All

make sure you have removed the const package = require("package"), because replit automatically installs packages. Also, make sure you have removed the packages you don't want from package.json