当前位置:网站首页>Uninstall NPM and install NPM_ Use 'NPM uninstall' to uninstall the NPM package 'recommended collection'
Uninstall NPM and install NPM_ Use 'NPM uninstall' to uninstall the NPM package 'recommended collection'
2022-07-25 21:51:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
uninstall npm And installation npm
To uninstall a package you have previously installed locally (using npm install <package-name> in the node_modules folder, run
To uninstall before In the local npm install <package-name> ( Use node_modules In folder npm install <package-name> , Please run
npm uninstall <package-name>from the project root folder (the folder that contains the node_modules folder).
From the project root folder ( contain node_modules Folder folder ) in .
Using the -S flag, or --save, this operation will also remove the reference in the package.json file.
Use -S Logo or --save , This action will also delete package.json file Citation in .
If the package was a development dependency, listed in the devDependencies of the package.json file, you must use the -D / --save-dev flag to remove it from the file:
If the package is in package.json Of documents devDependencies Development dependencies listed in , Must be used -D / --save-dev Flag to delete it from the file :
npm uninstall -S <package-name>
npm uninstall -D <package-name>If the package is installed globally, you need to add the -g / --global flag:
If the package is overall situation Installed , You need to add -g / --global sign :
npm uninstall -g <package-name>for example:
for example :
npm uninstall -g webpackand you can run this command from anywhere you want on your system because the folder where you currently are does not matter.
And you can run this command anywhere on the system , Because the current folder doesn't matter .
Translated from : https://flaviocopes.com/npm-uninstall-packages/
uninstall npm And installation npm
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/127908.html Link to the original text :https://javaforall.cn
边栏推荐
- 2022最新软件测试八股文,能不能拿心仪Offer就看你背得怎样了
- Share | intelligent fire emergency management platform solution (PDF attached)
- Byte side: can TCP and UDP use the same port?
- Oxford University: many common insomnia drugs lack long-term safety data
- 2 lines of code to generate a solid desktop background
- Babbitt | metauniverse daily must read: the popularity of virtual people has decreased, and some "debut is the peak", and the onlookers have dispersed
- 2022 love analysis ― bank digitalization practice report
- Research on the scheme of MySQL advanced (VIII) sorting problem
- GPON介绍及华为OLT网关注册配置流程
- EL表达式改进JSP
猜你喜欢
![[Flink] flick rocksdbliststate reports an error you cannot add null to a liststate](/img/c0/1923e17f166ab4bc7d20f48398f366.jpg)
[Flink] flick rocksdbliststate reports an error you cannot add null to a liststate

【Redis底层解析】链表类型
![[MAIXPY]kpu: load error:2005, ERR_READ_FILE: read file failed问题解决](/img/0b/da67b5a361a2cdfaf81568d34cf5f7.png)
[MAIXPY]kpu: load error:2005, ERR_READ_FILE: read file failed问题解决

NVIDIA has opened source a comprehensive library of 3D deep learning based on pytorch

Byte side: can TCP and UDP use the same port?

Jmeter---设置代理录制请求

Babbitt | metauniverse daily must read: the popularity of virtual people has decreased, and some "debut is the peak", and the onlookers have dispersed

Redis 使用详解
![[hand tear STL] BitSet (bitmap), bloom filter](/img/bc/a6e3c2ccce478460a2742852eee9cf.png)
[hand tear STL] BitSet (bitmap), bloom filter

分享|智慧消防应急管理平台解决方案(附PDF)
随机推荐
Detailed explanation of several ideas for implementing timed tasks in PHP
mouseEvent事件——mouse坐标描述——focus事件——input事件——节流(thorttle)——mouseWheel(滚轮事件)
Research: more than 70% of doctors are still prescribing unsafe antibiotic drugs
C language left value and right value description [easy to understand]
I/O案例实操
新版Maixhub部署(V831与K210)
[MAIXPY]kpu: load error:2005, ERR_ READ_ File: read file failed problem solving
性能调试 -- Chrome Performance
Jmeter--- set proxy recording request
c sqlite ... ...
MySQL master-slave configuration
少儿编程 电子学会图形化编程等级考试Scratch一级真题解析(判断题)2022年6月
Oracle RAC RMAN backup error ora-19501 ora-15081
QT | learn about QT creator by creating a simple project
【饭谈】软件测试薪资层次和分段(修仙)
zigbee开发板(nxpzigbee开发)
Does the open source agreement have legal effect?
The file cannot be saved (what if the folder is damaged and cannot be read)
[redis underlying parsing] string type
The adequacy of source evaluation forum · observation model test