I used npm uninstall and npm remove respectively and found that they could not be successfully uninstalled
Delete node_modules first, but it is recommended not to delete it manually as it may be slow. You can npm install rimraf -grimraf node_modules
Then perform npm uninstall operation
npm uninstall xxx --save
No need to uninstall, npm install -g npm
The reason why it cannot be deleted is that this module depends on vue-loader, so it cannot be uninstalled. I solved the problem by deleting the entire node-modules folder and reinstalling it
Delete node_modules first, but it is recommended not to delete it manually as it may be slow. You can
npm install rimraf -g
rimraf node_modules
Then perform npm uninstall operation
npm uninstall xxx --save
No need to uninstall, npm install -g npm
The reason why it cannot be deleted is that this module depends on vue-loader, so it cannot be uninstalled.
I solved the problem by deleting the entire node-modules folder and reinstalling it