安卓js sdk报错,装不了
Components to install:
- JS version 3.0.0.0 (js)
Downloading https://downloads.openharmony.cn/sdk/component/3.0.0.0/windows/js-windows-3.0.0.0-Release.zip
Unzipping C:\Users\Sunia\AppData\Local\OpenHarmony\Sdk\.temp\js\3.0.0.0\install\js-windows-3.0.0.0-Release.zip
Installing JS dependencies...
Running 'npm install'...
> ace-loader@1.0.11 postinstall C:\Users\Sunia\AppData\Local\OpenHarmony\Sdk\.temp\js\3.0.0.0\install\unzip\js\build-tools\ace-loader
> node npm-install.js
internal/modules/cjs/loader.js:905
throw err;
^
Error: Cannot find module 'C:\Users\Sunia\AppData\Local\OpenHarmony\Sdk\.temp\js\3.0.0.0\install\unzip\js\build-tools\ace-loader\npm-install.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ace-loader@1.0.11 postinstall: `node npm-install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ace-loader@1.0.11 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Sunia\AppData\Roaming\npm-cache\_logs\2022-03-17T10_37_54_779Z-debug.log
Install JS 3.0.0.0 failed.
Install JS dependencies failed.
Cause: Unable to run npm install.
Solution: See https://developer.harmonyos.com/cn/docs/documentation/doc-guides/faq-development-environment-0000001168829643#section1311117111474
- 为了保障您的信息安全,请勿上传您的敏感个人信息(如您的密码等信息)和您的敏感资产信息(如关键源代码、签名私钥、调试安装包、业务日志等信息),且您需自行承担由此产生的信息泄露等安全风险。
- 如您发布的内容为转载内容,请注明内容来源。
我要提问题







































苏公安网备 32011402010933号