uniapp发布成harmony时报错找不到@uni_modules/uni-push包跟这个包@uni_modules/hmr-for-uni-app

18:39:02.712 项目 a 编译成功。

18:39:04.009 安装鸿蒙工程的依赖 ...

18:39:06.874 安装鸿蒙工程依赖成功

18:39:06.874 开始制作安装包 .app,请耐心等待 ...........

18:39:37.254 > hvigor WARN: The current module 'a' has dependency which is not installed at its oh-package.json5.

> hvigor Finished ::clean... after 2 ms

> hvigor Finished :entry:clean... after 8 ms

> hvigor Finished ::PreBuildApp... after 1 ms

> hvigor Finished :entry:default@PreBuild... after 188 ms

> hvigor Finished ::DuplicateDependencyCheck... after 1 ms

> hvigor Finished :entry:default@GenerateMetadata... after 6 ms

> hvigor Finished :entry:default@ConfigureCmake... after 1 ms

> hvigor Finished :entry:default@MergeProfile... after 28 ms

> hvigor Finished :entry:default@CreateBuildProfile... after 5 ms

> hvigor Finished :entry:default@PreCheckSyscap... after 1 ms

> hvigor Finished :entry:default@GeneratePkgContextInfo... after 3 ms

> hvigor Finished :entry:default@ProcessIntegratedHsp... after 2 ms

> hvigor Finished :entry:default@BuildNativeWithCmake... after 1 ms

> hvigor Finished :entry:default@MakePackInfo... after 6 ms

> hvigor Finished :entry:default@ProcessProfile... after 123 ms

> hvigor Finished :entry:default@SyscapTransform... after 2 ms

> hvigor Finished :entry:default@ProcessRouterMap... after 13 ms

> hvigor Finished :entry:default@BuildNativeWithNinja... after 2 ms

> hvigor Finished :entry:default@ProcessResource... after 4 ms

> hvigor Finished :entry:default@GenerateLoaderJson... after 51 ms

> hvigor Finished :entry:default@CompileResource... after 932 ms

> hvigor Finished :entry:default@BuildJS... after 8 ms

> hvigor Finished :entry:default@ProcessLibs... after 48 ms

> hvigor Finished :entry:default@DoNativeStrip... after 212 ms

> hvigor Finished :entry:default@CacheNativeLibs... after 234 ms

> hvigor ERROR: Failed :entry:default@CompileArkTS...

> hvigor ERROR: ArkTS:ERROR Failed to execute es2abc.

Error Message: Error: The input abc file 'D:/a/a/dist/release/a/oh_modules/.ohpm/@uni_modules+uni-push@my1ojrxvce9xyubfqr+jsbfwzz+dm+it9xc0n28lhb4=/oh_modules/@uni_modules/uni-push/ets/modules.abc' owns a higher api version or a higher sdkReleaseType compared to current compilation process. [D:/a/a/dist/release/a/oh_modules/.ohpm/@uni_modules+uni-push@my1ojrxvce9xyubfqr+jsbfwzz+dm+it9xc0n28lhb4=/oh_modules/@uni_modules/uni-push/ets/modules.abcError: The input abc file 'D:/a/a/dist/release/a/oh_modules/.ohpm/@uni_modules+hmr-for-uni-app@n1yuwrlp2kq6zt3bewzkmetwtrhcdgxmrzxvigkdtiy=/oh_modules/@uni_modules/hmr-for-uni-app/ets/modules.abc' owns a higher api version or a higher sdkReleaseType compared to current compilation process. [D:/a/a/dist/release/a/oh_modules/.ohpm/@uni_modules+hmr-for-uni-app@n1yuwrlp2kq6zt3bewzkmetwtrhcdgxmrzxvigkdtiy=/oh_modules/@uni_modules/hmr-for-uni-app/ets/modules.abc]

]

Error: The input abc file 'D:/a/a/dist/release/a/oh_modules/.ohpm/@uni_modules+hmr-for-uni-app@n1yuwrlp2kq6zt3bewzkmetwtrhcdgxmrzxvigkdtiy=/oh_modules/@uni_modules/hmr-for-uni-app/ets/modules.abc' owns a higher api version or a higher sdkReleaseType compared to current compilation process.

The size of programs is expected to be 285, but is 283

1 WARN: ArkTS:WARN File: D:/a/a/dist/release/a/oh_modules/.ohpm/@dcloudio+uni-app-runtime@sd+0ftqkd0cwjnnvnemdkpddwdocipvoq4yjtv7cxi4=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-app-harmony/uts.ets:20:39

Usage of 'ESObject' type is restricted (arkts-limited-esobj)

2 WARN: ArkTS:WARN File: D:/a/a/dist/release/a/oh_modules/.ohpm/@dcloudio+uni-app-runtime@sd+0ftqkd0cwjnnvnemdkpddwdocipvoq4yjtv7cxi4=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-app-harmony/uts.ets:20:64

Usage of 'ESObject' type is restricted (arkts-limited-esobj)

3 WARN: ArkTS:WARN File: D:/a/a/dist/release/a/oh_modules/.ohpm/@dcloudio+uni-app-runtime@sd+0ftqkd0cwjnnvnemdkpddwdocipvoq4yjtv7cxi4=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-app-harmony/uts.ets:21:25

Usage of 'ESObject' type is restricted (arkts-limited-esobj)

4 WARN: ArkTS:WARN File: D:/a/a/dist/release/a/oh_modules/.ohpm/@dcloudio+uni-app-runtime@sd+0ftqkd0cwjnnvnemdkpddwdocipvoq4yjtv7cxi4=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-app-harmony/uts.ets:23:16

"globalThis" is not supported (arkts-no-globalthis)

相关推荐
Zuckjet_41 分钟前
开启 3D 之旅 - 你的第一个 WebGL 三角形
前端·javascript·3d·webgl
2401_863801461 小时前
探索 12 种 3D 文件格式:综合指南
前端·3d
珍宝商店2 小时前
前端老旧项目全面性能优化指南与面试攻略
前端·面试·性能优化
bitbitDown2 小时前
四年前端分享给你的高效开发工具库
前端·javascript·vue.js
gnip3 小时前
实现AI对话光标跟随效果
前端·javascript
脑花儿4 小时前
ABAP SMW0下载Excel模板并填充&&剪切板方式粘贴
java·前端·数据库
2501_916007474 小时前
HTTPS 抓包乱码怎么办?原因剖析、排查步骤与实战工具对策(HTTPS 抓包乱码、gzipbrotli、TLS 解密、iOS 抓包)
android·ios·小程序·https·uni-app·iphone·webview
Q_Q5110082854 小时前
python+django/flask+uniapp基于微信小程序的瑜伽体验课预约系统
spring boot·python·django·flask·uni-app·node.js·php
性野喜悲5 小时前
uniapp+<script setup lang=“ts“>解析后端返回的图片流并将二维码展示在页面中
uni-app
lumi.5 小时前
Vue.js 从入门到实践1:环境搭建、数据绑定与条件渲染
前端·javascript·vue.js