Win10.64安装deveco-studio-2.1.0.501,安装Js version 2.1.1.21失败,卡在deccjsunit取得失败
环境有代理,用户目录下设置.npmrc如下:
registry=https://repo.huaweicloud.com/repository/npm/
proxy=http://xxx.xxx.xxx.xxx:8080
https-proxy=https://xxx.xxx.xxx.xxx:8080
Node.Js and NPM设置的路径都是C:\Program Files\Huawei\DevEco Studio 2.1.0.501\tools\nodejs。
中间试着按照论坛的解决方法安装node-v12.16.2-x64,再次安装也不行。
错误如下:
Components to install:
- Js version 2.1.1.21 (js)
Downloading https://update.dbankcdn.com/download/data/pub_13/HWHOTA_hota_900_9/55/v3/bLpDkR2ASXGBKEfy4oVKcg/js-windows-2.1.1.21-Release.zip
Unzipping C:\Dev\Huawei\SDK\.temp\js\2.1.1.21\install\js-windows-2.1.1.21-Release.zip
Installing Js dependencies...
Running 'npm install'...
npm ERR! code EPROTO
npm ERR! errno EPROTO
npm ERR! request to https://repo.huaweicloud.com/repository/npm/deccjsunit failed, reason: write EPROTO 1784:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:c:\ws\deps\openssl\openssl\ssl\record\ssl3_record.c:332:
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\xxx\AppData\Roaming\npm-cache\_logs\2022-02-07T06_50_27_800Z-debug.log
Install failed.
Install js dependencies failed. Unable to run 'npm install'. Js installation failed. See https://developer.harmonyos.com/cn/docs/documentation/doc-guides/environment_config-0000001052902427#ZH-CN_TOPIC_0000001154865731__section167519616516
- 为了保障您的信息安全,请勿上传您的敏感个人信息(如您的密码等信息)和您的敏感资产信息(如关键源代码、签名私钥、调试安装包、业务日志等信息),且您需自行承担由此产生的信息泄露等安全风险。
- 如您发布的内容为转载内容,请注明内容来源。
我要发帖子







































苏公安网备 32011402010933号