Help Center/
CodeArts Build/
FAQs/
npm Builds/
Why Does It Take Long to Install Dependencies and Build?
Updated on 2024-10-10 GMT+08:00
Why Does It Take Long to Install Dependencies and Build?
Cause Analysis
The default image repository address may cause low efficiency of downstream traffic on the network side due to network problems.
Solution
- Log in to CodeArts Build.
- Select the corresponding build task, click in the row of the task, and click Edit.
- On the Build Actions page, modify the Build with npm action.
- In the Build with npm action, add the following command to change the address of the npm image repository:
1
npm config set registry https://repo.xxcloud.com/repository/npm/
or
npm config set registry https://registry.npm.taobao.org
- Click Save and Run to execute the build task again.
Parent topic: npm Builds
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot