当前位置:网站首页>NPM installation
NPM installation
2022-07-05 16:58:00 【Hepburn he0】
1. download node, Unzip and install
Download address :http://nodejs.cn/download/
2. Administrator rights cmd, Check whether the installation is successful
although node Automatically npm edition , But not the latest version
Be careful , see npm -v Errors may be reported during version :npm warn config global --global
, --local
are deprecated. use --location=global
instead.
solve : Modify the configuration file
npm config Command found npm Configuration directory for
npm config ls
npm config list
npm config ls -l
find 2 In a file prefix -g Replace with prefix --location=global
Close the previous command line window after modification , Reopen the test
3. Configure mirror station
npm config set registry=http://registry.npm.taobao.org // Configure mirror station
npm config get registry // Check the mirror station
test npm install vue
npm install vue -g
Test installation vue-router
npm install vue-router -g
Reference documents :https://www.cnblogs.com/lgx5/p/10732016.html
边栏推荐
- Jarvis OJ simple network management protocol
- Win11如何给应用换图标?Win11给应用换图标的方法
- Solve cmakelist find_ Package cannot find Qt5, ECM cannot be found
- What is the difference between EDI license and ICP business license
- 拷贝方式之DMA
- Do sqlserver have any requirements for database performance when doing CDC
- 【剑指 Offer】61. 扑克牌中的顺子
- Benji Banas membership pass holders' second quarter reward activities update list
- Basic introduction to the control of the row component displaying its children in the horizontal array (tutorial includes source code)
- Browser rendering principle and rearrangement and redrawing
猜你喜欢
Browser rendering principle and rearrangement and redrawing
Etcd 构建高可用Etcd集群
Flet tutorial 12 stack overlapping to build a basic introduction to graphic and text mixing (tutorial includes source code)
[team PK competition] the task of this week has been opened | question answering challenge to consolidate the knowledge of commodity details
[729. My schedule I]
Bs-xx-042 implementation of personnel management system based on SSM
How was the middle table destroyed?
數據訪問 - EntityFramework集成
数据访问 - EntityFramework集成
Clear restore the scene 31 years ago, volcanic engine ultra clear repair beyond classic concert
随机推荐
Data access - entityframework integration
Global Data Center released DC brain system, enabling intelligent operation and management through science and technology
如何安装mysql
[echart] resize lodash 实现窗口缩放时图表自适应
采用药丸屏的iPhone14或引发中国消费者的热烈抢购
Solve cmakelist find_ Package cannot find Qt5, ECM cannot be found
清晰还原31年前现场,火山引擎超清修复Beyond经典演唱会
[61dctf]fm
China Radio and television officially launched 5g services, and China Mobile quickly launched free services to retain users
【机器人坐标系第一讲】
【组队 PK 赛】本周任务已开启 | 答题挑战,夯实商品详情知识
精准防疫有“利器”| 芯讯通助力数字哨兵护航复市
Android privacy sandbox developer preview 3: privacy, security and personalized experience
时间戳strtotime前一天或后一天的日期
Starkware: to build ZK "universe"
国内首家 EMQ 加入亚马逊云科技「初创加速-全球合作伙伴网络计划」
[js] 技巧 简化if 判空
How was the middle table destroyed?
[deep learning] how does deep learning affect operations research?
中间表是如何被消灭的?