693 Star 4.1K Fork 1.1K

OpenHarmony / docs

 / 详情

HUAWEI DevEco Device Tool 点击烧录运行的命令有问题

Done
Bug
Opened this issue  
2020-09-25 15:34

该问题是怎么引起的?

安装devicetool-device-1.0.0.0.zip后,开始烧录程序,发现自动运行得是
hpm run ‘upload’ ,然后会输出失败log Execution error: No ''upload'' command in scripts

注意到多了引号,于是尝试在工程的存有bundle.json的目录下运行hpm run upload成功开始执行烧写流程。我的电脑是win7 64bit,怀疑是操作系统问题。

重现步骤

报错信息

Comments (3)

FakePower created缺陷
FakePower set related repository to OpenHarmony/docs
NEEN added
 
product-question
label
Expand operation logs

首先,点击按钮后自动运行的是 hpm run 'upload'的现象是正常的;
其次,想要确认下,在命令行中执行命令“hpm run upload”后,是否可以执行烧录行为,还希望可以反馈下;
最后,我这边找一下win7 64bit的机器测试验证以下。

yes, am also encounter same problem after followup environment setup and try to flash official 1.0.0 version on 3518 board

[2020-10-05T19:01:42.031] [DEBUG] default - {
error: "No ''upload'' command in scripts.",
platform: 'win32',
node: 'v12.18.4',
hpm: '1.0.1',
argv: [
'C:\\Program Files\\nodejs\\node.exe',
'C:\\Users\\xxxx\\AppData\\Roaming\\npm\\node_modules\\@ohos\\hpm-cli\\bin\\hpm',
'run',
"'upload'"
],
env: {}
}

yes, am also encounter same problem after followup environment setup and try to flash official 1.0.0 version on 3518 board

[2020-10-05T19:01:42.031] [DEBUG] default - {
error: "No ''upload'' command in scripts.",
platform: 'win32',
node: 'v12.18.4',
hpm: '1.0.1',
argv: [
'C:\\Program Files\\nodejs\\node.exe',
'C:\\Users\\xxxx\\AppData\\Roaming\\npm\\node_modules\\@ohos\\hpm-cli\\bin\\hpm',
'run',
"'upload'"
],
env: {}
}

@Dayananda V 当前HUAWEI DevEco Device Tool工具是暂时不支持Hi3518EV300开发板的烧写文件操作,在后续的开发中会支持Hi3518EV300开发板的烧写。

NEEN changed issue state from 待办的 to 已完成

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
Confirm
参与者(3)
5194555 chipcore 1592555282
1
https://git.oschina.net/openharmony/docs.git
git@git.oschina.net:openharmony/docs.git
openharmony
docs
docs

Search

181749 a2d7925e 1850385 181749 9f8568a7 1850385