咨询描述:在项目的oh-package.json5文件里面配置parameterFile后,无法使用ohpm 安装依赖,报错如下:ohpm ERROR: Install failed, detail: The "ohpm install <pkg\>" command cannot be executed when the “parameterFile” configuration exists in the project-level oh-package.json5 file.
咨询描述:在项目的oh-package.json5文件里面配置parameterFile后,无法使用ohpm 安装依赖,报错如下:ohpm ERROR: Install failed, detail: The "ohpm install <pkg\>" command cannot be executed when the “parameterFile” configuration exists in the project-level oh-package.json5 file.
1 回答923 阅读✓ 已解决
1 回答1.2k 阅读
1 回答1k 阅读
1 回答987 阅读
1 回答960 阅读
1 回答852 阅读
1 回答815 阅读
parameterFile字段配置后,不允许执行update命令、uninstall命令和指定包名安装(如:'ohpm i <pkg\>')
可参考官网parameterFile文档的说明:https://developer.huawei.com/...\#section122411462820