<template>
</template>
<script>
</script>
<style>
</style>
- 发布:2023-04-27 09:59
- 更新:2023-05-07 12:00
- 阅读:291
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 22621.1555
手机系统: Android
手机系统版本号: Android 9.0
手机厂商: 模拟器
手机机型: MuMuX模拟器
页面类型: nvue
vue版本: vue3
打包方式: 云端
项目创建方式: CLI
CLI版本号: 5.0.4
示例代码:
操作步骤:
通过cli创建一个项目,将vue文件修改为nvue文件,运行到安卓模拟器
通过cli创建一个项目,将vue文件修改为nvue文件,运行到安卓模拟器
预期结果:
可以在模拟器中正常打开APP
可以在模拟器中正常打开APP
实际结果:
编译过程中报错,导致APP打开后空白
编译过程中报错,导致APP打开后空白
bug描述:
09:46:12.573 项目 'dust-control-app' 开始编译...
[JSHINT] 09:46:12.663
[JSHINT] 09:46:12.663 <--- Last few GCs --->
[JSHINT] 09:46:12.671
[JSHINT] 09:46:12.671
[JSHINT] 09:46:12.676 <--- JS stacktrace --->
[JSHINT] 09:46:12.677
[JSHINT] 09:46:12.683
[JSHINT] 09:46:12.683 #
[JSHINT] 09:46:12.690 # Fatal javascript OOM in GC during deserialization
[JSHINT] 09:46:12.690 #
[JSHINT] 09:46:12.695
[JSHINT] 09:46:12.696
[JSHINT] 09:46:12.701 进程已崩溃
[JSHINT] 09:46:12.790
[JSHINT] 09:46:12.790 <--- Last few GCs --->
[JSHINT] 09:46:12.798
[JSHINT] 09:46:12.798
[JSHINT] 09:46:12.804 <--- JS stacktrace --->
[JSHINT] 09:46:12.804
[JSHINT] 09:46:12.810
[JSHINT] 09:46:12.811 #
[JSHINT] 09:46:12.816 # Fatal javascript OOM in GC during deserialization
[JSHINT] 09:46:12.817 #
[JSHINT] 09:46:12.823
[JSHINT] 09:46:12.824
[JSHINT] 09:46:12.829 进程已崩溃
09:46:14.036 编译器版本:3.7.10(vue3)
09:46:14.036 请注意运行模式下,因日志输出、sourcemap 以及未压缩源码等原因,性能和包体积,均不及发行模式。
09:46:14.043 正在编译中...
09:46:21.683 X [ERROR] No matching export in "dist/dev/.nvue/pages/map/index.js" for import "default"
09:46:21.684 <stdin>:1:7:
09:46:21.691 1 │ import App from './pages/map/index.js'
09:46:21.696 ╵ ~~~
09:46:21.727 开始差量编译...
09:46:21.728 [plugin:uni:app-nvue-esbuild] Build failed with 1 error:
09:46:21.735 <stdin>:1:7: ERROR: No matching export in "dist/dev/.nvue/pages/map/index.js" for import "default"
09:46:24.871 X [ERROR] No matching export in "dist/dev/.nvue/pages/map/index.js" for import "default"
09:46:24.876 <stdin>:1:7:
09:46:24.882 1 │ import App from './pages/map/index.js'
09:46:24.890 ╵ ~~~
09:46:25.202 [plugin:uni:app-nvue-esbuild] Build failed with 1 error:
09:46:25.203 <stdin>:1:7: ERROR: No matching export in "dist/dev/.nvue/pages/map/index.js" for import "default"
09:46:27.338 X [ERROR] No matching export in "dist/dev/.nvue/pages/map/index.js" for import "default"
09:46:27.339 <stdin>:1:7:
09:46:27.344 1 │ import App from './pages/map/index.js'
09:46:27.345 ╵ ~~~
09:46:27.351 [plugin:uni:app-nvue-esbuild] Build failed with 1 error:
09:46:27.357 <stdin>:1:7: ERROR: No matching export in "dist/dev/.nvue/pages/map/index.js" for import "default"
1 个回复
追影和糖糖
+1+1