【报Bug】想问一下鸿蒙运行到真机调试的时候 安装hap失败 这个问题应该怎么解决

【报Bug】想问一下鸿蒙运行到真机调试的时候 安装hap失败 这个问题应该怎么解决

警告有几百条;

第一个警告没看懂是为什么 hvigor WARN: The current module 'app-harmony-2f573459' has dependency which is not installed at its oh-package.json5.

报错如下:

1 ERROR: ArkTS:ERROR File: //?/C:/Users/a1396/Documents/HBuilderProjects/uni-app-sync/sync_version1/unpackage/debug/app-harmony-2f573459/oh_modules/.ohpm/@ohos+videocompressor@soegz02lhnnihit14ad03wcy4dhlg8y+cdslhkqxb5s=/oh_modules/@ohos/videocompressor/src/main/ets/components/mainpage/VideoCompressor.ets

A page configured in 'main_pages.json or build-profile.json5' must have one and only one '@Entry' decorator.

Try the following:

Please make sure that the splash page has one and only one '@Entry' decorator.

2 ERROR: ArkTS:ERROR File: //?/C:/Users/a1396/Documents/HBuilderProjects/uni-app-sync/sync_version1/unpackage/debug/app-harmony-2f573459/oh_modules/.ohpm/@ohos+videocompressor@soegz02lhnnihit14ad03wcy4dhlg8y+cdslhkqxb5s=/oh_modules/@ohos/videocompressor/src/main/ets/components/mainpage/CompressorResponse.ets

A page configured in 'main_pages.json or build-profile.json5' must have one and only one '@Entry' decorator.

Try the following:

Please make sure that the splash page has one and only one '@Entry' decorator.

COMPILE RESULT:FAIL {ERROR:3 WARN:523}

hvigor ERROR: BUILD FAILED in 16 s 444 ms

谢谢大神解答,我实在是在网上找不到解决办法就来论坛救助了

相关文章

bat365在线登录
光子嫩肤后吃了辣椒怎么办
365bet安卓
宿州市埇桥区

宿州市埇桥区

📅 07-21 👀 9417