javascript - How to uninstall the previous version of npm and install the new version?
phpcn_u1582
phpcn_u1582 2017-07-05 10:48:54
0
4
795

I used npm uninstall and npm remove respectively and found that they could not be successfully uninstalled

phpcn_u1582
phpcn_u1582

reply all(4)
阿神

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

过去多啦不再A梦

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!