Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the process of installing nodejs and yarn and configuring Taobao source

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article is to share with you about the process of installing nodejs and yarn and configuring Taobaoyuan. The editor thinks it is very practical, so I share it with you. I hope you can get something after reading this article. Let's take a look at it.

1. Download nodejs

Access download | Node.js Chinese website (nodejs.cn)

Download address of this site: click download

2. Double-click to install

Click Next for all, and then Install.

3. Reset the global npm source and modify it to the NPM image of Taobao:

Hold down the [Shift] key and click the right mouse button-> to open the PowerShell window this time

Execute the following instructions

Npm install-g cnpm-- registry= https://registry.npm.taobao.org4, install Yarncnpm I-g yarn

If an error is reported as shown in the figure below, execute the following command

Set-ExecutionPolicy RemoteSigned

5, set up Yarn Taobaoyuan yarn config set registry http://registry.npm.taobao.org above is to install nodejs and yarn and configure Taobaoyuan process is how, editor believes that there are some knowledge points may be our daily work will see or use. I hope you can learn more from this article. For more details, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report