3***@qq.com
3***@qq.com
  • 发布:2023-02-17 10:02
  • 更新:2023-02-17 10:34
  • 阅读:189

【报Bug】vue3运行报错打不开,目前最新版本

分类:HBuilderX

产品分类: HbuilderX

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win11

HBuilderX版本号: 3.6.18

示例代码:

[广告] 09:53:33.804 DCloud 2023新春招聘开启,欢迎前端、Android、C++/QT来投简历! 详情点击
09:53:33.822 项目 'lianlian-reluctant' 开始编译...
09:53:34.796 请注意运行模式下,因日志输出、sourcemap 以及未压缩源码等原因,性能和包体积,均不及发行模式。
09:53:34.799 正在编译中...
09:53:35.060 failed to load config from D:\Development\HBuilderX\plugins\uniapp-cli-vite\vite.config.js
09:53:35.064 error when starting dev server:
09:53:35.067 SyntaxError: Unexpected identifier
09:53:35.070 at new Function (<anonymous>)
09:53:35.072 at getTestTemplate (D:\Development\HBuilderX\plugins\uniapp-cli-vite\node_modules\@dcloudio\uni-cli-shared\lib\preprocess\lib\preprocess.js:381:10)
09:53:35.075 at testPasses (D:\Development\HBuilderX\plugins\uniapp-cli-vite\node_modules\@dcloudio\uni-cli-shared\lib\preprocess\lib\preprocess.js:386:16)
09:53:35.079 at D:\Development\HBuilderX\plugins\uniapp-cli-vite\node_modules\@dcloudio\uni-cli-shared\lib\preprocess\lib\preprocess.js:184:18
09:53:35.083 at D:\Development\HBuilderX\plugins\uniapp-cli-vite\node_modules\@dcloudio\uni-cli-shared\lib\preprocess\lib\preprocess.js:332:22
09:53:35.086 at Array.reduce (<anonymous>)
09:53:35.089 at matchReplacePass (D:\Development\HBuilderX\plugins\uniapp-cli-vite\node_modules\@dcloudio\uni-cli-shared\lib\preprocess\lib\preprocess.js:319:20)
09:53:35.092 at replaceRecursive (D:\Development\HBuilderX\plugins\uniapp-cli-vite\node_modules\@dcloudio\uni-cli-shared\lib\preprocess\lib\preprocess.js:339:10)
09:53:35.097 at preprocessor (D:\Development\HBuilderX\plugins\uniapp-cli-vite\node_modules\@dcloudio\uni-cli-shared\lib\preprocess\lib\preprocess.js:164:10)
09:53:35.100 at preprocess (D:\Development\HBuilderX\plugins\uniapp-cli-vite\node_modules\@dcloudio\uni-cli-shared\lib\preprocess\lib\preprocess.js:89:10)

操作步骤:

没空

预期结果:

没空

实际结果:

没空

bug描述:

之前新建的vue3项目放了很多天没运行,今天一运行就报错打不开,怎么搞?难道又要重新建立项目重新写代码?之前写的都白费了。。。。。

2023-02-17 10:02 负责人:无 分享
已邀请:
亦春亦秋

亦春亦秋 - 用爱发电

更新版本试一下

  • 3***@qq.com (作者)

    没有用,已经是最新正式版了,3.6.18

    2023-02-17 10:14

3***@qq.com

3***@qq.com (作者)

刚下载了一个最新Alpha正常打开,正版没用

  • 亦春亦秋

    能用就行,我也是用alpha开发的

    2023-02-17 11:02

要回复问题请先登录注册