2***@qq.com
2***@qq.com
  • 发布:2024-12-04 16:45
  • 更新:2024-12-04 16:45
  • 阅读:20

uniapp x 运行到android报错

分类:uni-app x

Cannot create property 'code' on string 'load_transformed failed
16:42:30.249 Caused by:
16:42:30.249 0: Bundler.load() failed
16:42:30.249 1: Bundler.loader.load(C:/Users/唯/Desktop/see_world_uni/unpackage/dist/dev/.uvue/app-android/main.uts) failed
16:42:30.249 2: failed to load file C:/Users/唯/Desktop/see_world_uni/unpackage/dist/dev/.uvue/app-android/main.uts
16:42:30.249 3: 系统找不到指定的文件。 (os error 2)'

// main.uts

import App from './App.uvue'
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
initState()
app.config.globalProperties.$appState = state
return {
app
}
}

2024-12-04 16:45 负责人:无 分享
已邀请:

要回复问题请先登录注册