mirror of
https://gitee.com/openharmony/third_party_jsframework
synced 2024-11-23 06:40:59 +00:00
fix npm install/build issues caused by huaweicloud mirror site
Signed-off-by: lanshouren <lanshouren@huawei.com> Change-Id: Ie88cc5fdd7c82e87b242446fb66cece6ec049a54
This commit is contained in:
parent
79304fb35d
commit
f035f5c364
2778
package-lock.json
generated
2778
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -42,6 +42,6 @@
|
||||
"sinon": "^9.2.2",
|
||||
"ts-node": "^9.0.0",
|
||||
"tslib": "^2.0.3",
|
||||
"typescript": "^4.1.2"
|
||||
"typescript": "4.1.3"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) 2021 Huawei Device Co., Ltd.
|
||||
# Copyright (c) 2021-2022 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
@ -34,7 +34,7 @@ node_js_name=node-${node_js_ver}-${host_platform}-x64
|
||||
|
||||
cd ${code_dir}/third_party/jsframework/
|
||||
export PATH=${code_dir}/prebuilts/build-tools/common/nodejs/${node_js_name}/bin:$PATH
|
||||
npm config set registry http://registry.npm.taobao.org
|
||||
npm config set registry https://repo.huaweicloud.com/repository/npm/
|
||||
npm install
|
||||
|
||||
cd ${code_dir}
|
||||
|
Loading…
Reference in New Issue
Block a user