132liyh
132liyh
  • 发布:2022-11-25 22:56
  • 更新:2022-11-25 23:45
  • 阅读:271

uts demo运行报错

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: OS: Windows 10 CPU: (6) x64 Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz

HBuilderX类型: 正式

HBuilderX版本号: 3.6.5

手机系统: Android

手机系统版本号: Android 9.0

手机厂商: 魅族

手机机型: 16x

页面类型: vue

vue版本: vue3

打包方式: 云端

项目创建方式: HBuilderX

示例代码:

git 官方utsdemo https://gitcode.net/dcloud/hello-uts.git

拉取官方demo

操作步骤:

运行拉取下来的dmeo 运行或者云打包基座

预期结果:

正常运行

实际结果:

[plugin:vite:resolve] Failed to resolve entry for package "E:\uni\hello-uts\uni_modules\uts-helloworld". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "E:\uni\hello-uts\uni_modules\uts-helloworld". The package may have incorrect main/module/exports specified in its package.json.

bug描述:

git 官方utsdemo https://gitcode.net/dcloud/hello-uts.git

直接运行或者云打包基座都是报错?
认真的吗?能用吗??????????

[plugin:vite:resolve] Failed to resolve entry for package "E:\uni\hello-uts\uni_modules\uts-helloworld". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "E:\uni\hello-uts\uni_modules\uts-helloworld". The package may have incorrect main/module/exports specified in its package.json.

2022-11-25 22:56 负责人:无 分享
已邀请:
xzh

xzh

你用 HBuilderXAlpha版v3.6.10 试试,官方uts的demo里面用了一些功能是还没在正式版的HBuilderX发布的

要回复问题请先登录注册