a***@qq.com
a***@qq.com
  • 发布:2024-06-26 15:00
  • 更新:2024-07-11 10:17
  • 阅读:115

app打包报错,浏览器正常运行,打包app报错

分类:HBuilderX

报错内容:
<label :for="vux-agree-${uuid}" class="weui-agree">
[HBuilder] 14:52:37.297 <input :id="vux-agree-${uuid}" type="checkbox" v-model="currentValue" class="weui-agreecheckbox">
[HBuilder] 14:52:37.300 <span class="weui-agree
text">
[HBuilder] 14:52:37.303 <slot></slot>
[HBuilder] 14:52:37.305 </span>
[HBuilder] 14:52:37.307 </label>
[HBuilder] 14:52:37.381 <div :class="disabled ? 'vux-checklist-disabled' : ''">
[HBuilder] 14:52:37.384 <div
[HBuilder] 14:52:37.387 v-show="title"
[HBuilder] 14:52:37.390 class="weui-cellstitle">{{ title }}</div>
[HBuilder] 14:52:37.392 <slot name="after-title"></slot>
[HBuilder] 14:52:37.395 <div class="weui-cells weui-cells_checkbox">
[HBuilder] 14:52:37.397 <label
[HBuilder] 14:52:37.399 class="weui-cell weui-checklabel"
[HBuilder] 14:52:37.401 :class="{
[HBuilder] 14:52:37.404 'vux-checklist-label-left': labelPosition === 'left'
[HBuilder] 14:52:37.407 }"
[HBuilder] 14:52:37.409 :for="`checkbox
${uuid}_${index}`"
[HBuilder] 14:52:37.412 v-for="(one, index) in currentOptions">
[HBuilder] 14:52:37.414 <div class="weui-cell
hd">
[HBuilder] 14:52:37.417 <input type="checkbox"
[HBuilder] 14:52:37.419 class="weui-check"
[HBuilder] 14:52:37.422 :name="vux-checkbox-${uuid}"
[HBuilder] 14:52:37.424 :value="getKey(one)"
[HBuilder] 14:52:37.427 v-model="currentValue"
[HBuilder] 14:52:37.429 :id="disabled ? '' : checkbox_${uuid}_${index}"
[HBuilder] 14:52:37.431 :disabled="isDisabled(getKey(one))">
[HBuilder] 14:52:37.433 <i class="weui-icon-checked vux-checklist-icon-checked"></i>
[HBuilder] 14:52:37.435 </div>
[HBuilder] 14:52:37.437 <div class="weui-cell__bd">
[HBuilder] 14:52:37.440 <p v-html="getValue(one)"></p>
[HBuilder] 14:52:37.443 <inline-desc v-if="getInlineDesc(one)">{{ getInlineDesc(one) }}</inline-desc>
[HBuilder] 14:52:37.446 </div>
[HBuilder] 14:52:37.448 </label>
[HBuilder] 14:52:37.451 </div>
[HBuilder] 14:52:37.453 <slot name="footer"></slot>
[HBuilder] 14:52:37.456 </div>
[HBuilder] 14:52:37.771 <input
[HBuilder] 14:52:37.774 class="inline-x-switch weui-switch"
[HBuilder] 14:52:37.776 type="checkbox"
[HBuilder] 14:52:37.779 :disabled="disabled"
[HBuilder] 14:52:37.782 v-model="currentValue"/>
[HBuilder] 14:52:38.095 <div class="vux-x-switch weui-cell weui-cell_switch">
[HBuilder] 14:52:38.098 <div class="weui-cellbd">
[HBuilder] 14:52:38.101 <label class="weui-label" :style="labelStyle" :class="labelClass" v-html="title"></label>
[HBuilder] 14:52:38.102 <inline-desc v-if="inlineDesc">{{ inlineDesc }}</inline-desc>
[HBuilder] 14:52:38.105 </div>
[HBuilder] 14:52:38.107 <div class="weui-cell
ft">
[HBuilder] 14:52:38.110 <input class="weui-switch" type="checkbox" :disabled="disabled" v-model="currentValue" />
[HBuilder] 14:52:38.112 <div v-if="preventDefault" class="vux-x-switch-overlay" @click="onClick"></div>
[HBuilder] 14:52:38.115 </div>
[HBuilder] 14:52:38.118 </div>
[HBuilder] 14:52:39.753 <div class="weui-cells_radio" :class="disabled ? 'vux-radio-disabled' : ''">
[HBuilder] 14:52:39.756 <label class="weui-cell weui-cell_radio weui-checklabel" :for="radio_${uuid}_${index}" v-for="(one, index) in options">
[HBuilder] 14:52:39.758 <div class="weui-cell
bd">
[HBuilder] 14:52:39.761 <slot name="each-item" :icon="one.icon" :label="getValue(one)" :index="index" :selected="currentValue === getKey(one)">
[HBuilder] 14:52:39.764 <p>
[HBuilder] 14:52:39.767 <img class="vux-radio-icon" :src="one.icon" v-show="one && one.icon">
[HBuilder] 14:52:39.770 <span class="vux-radio-label" :style="currentValue === getKey(one) ? (selectedLabelStyle || '') : ''">{{ one | getValue }}</span>
[HBuilder] 14:52:39.773 </p>
[HBuilder] 14:52:39.777 </slot>
[HBuilder] 14:52:39.780 </div>
[HBuilder] 14:52:39.783 <div class="weui-cellft">
[HBuilder] 14:52:39.786 <input type="radio" class="weui-check" v-model="currentValue" :id="disabled ? '' : radio_${uuid}_${index}" :value="getKey(one)">
[HBuilder] 14:52:39.789 <span class="weui-icon-checked"></span>
[HBuilder] 14:52:39.792 </div>
[HBuilder] 14:52:39.794 </label>
[HBuilder] 14:52:39.797 <div class="weui-cell" v-show="fillMode">
[HBuilder] 14:52:39.800 <div class="weui-cell
hd"><label for="" class="weui-label">{{ fillLabel }}</label></div>
[HBuilder] 14:52:39.802 <div class="weui-cellbd">
[HBuilder] 14:52:39.805 <input class="weui-input needsclick" type="text" v-model="fillValue" :placeholder="fillPlaceholder" @blur="isFocus=false" @focus="onFocus()">
[HBuilder] 14:52:39.808 </div>
[HBuilder] 14:52:39.810 <div class="weui-cell
ft" v-show="value==='' && !isFocus">
[HBuilder] 14:52:39.813 <i class="weui-icon-warn"></i>
[HBuilder] 14:52:39.815 </div>
[HBuilder] 14:52:39.818 </div>
[HBuilder] 14:52:39.821 </div>
[HBuilder] 14:52:51.462 项目 'bn3.0' 编译成功。
[HBuilder] 14:52:51.465 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js):
[HBuilder] 14:52:51.468 TypeError: Cannot read properties of undefined (reading 'value')
[HBuilder] 14:52:51.470 at genVModel (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\app\service.js:191:78)
[HBuilder] 14:52:51.472 at Array.genData (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\app\service.js:201:3)
[HBuilder] 14:52:51.475 at genData$3 (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4167:32)
[HBuilder] 14:52:51.479 at genElement (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4011:16)
[HBuilder] 14:52:51.482 at genNode (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4423:12)
[HBuilder] 14:52:51.485 at D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4386:55
[HBuilder] 14:52:51.488 at Array.map (<anonymous>)
[HBuilder] 14:52:51.489 at genChildren (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4386:29)
[HBuilder] 14:52:51.492 at genElement (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4014:49)
[HBuilder] 14:52:51.495 at genNode (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4423:12)
[HBuilder] 14:52:51.497 at D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4386:55
[HBuilder] 14:52:51.500 at Array.map (<anonymous>)
[HBuilder] 14:52:51.502 at genChildren (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4386:29)
[HBuilder] 14:52:51.505 at genElement (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4014:49)
[HBuilder] 14:52:51.507 at genFor (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4134:42)
[HBuilder] 14:52:51.510 at genElement (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:3996:12)
[HBuilder] 14:52:51.513 at genChildren (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4380:50)
[HBuilder] 14:52:51.515 at genElement (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4014:49)
[HBuilder] 14:52:51.518 at genNode (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4423:12)
[HBuilder] 14:52:51.520 at D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4386:55
[HBuilder] 14:52:51.523 at Array.map (<anonymous>)
[HBuilder] 14:52:51.526 at genChildren (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4386:29)
[HBuilder] 14:52:51.529 at genElement (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4014:49)
[HBuilder] 14:52:51.531 at generate (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:3979:20)
[HBuilder] 14:52:51.534 at baseCompile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4880:14)
[HBuilder] 14:52:51.537 at compile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4851:22)
[HBuilder] 14:52:51.539 at compileTemplate (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\auto-components.js:92:15)
[HBuilder] 14:52:51.541 at compile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\index.js:74:16)
[HBuilder] 14:52:51.543 at actuallyCompile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\@vue\component-compiler-utils\dist\compileTemplate.js:70:96)
[HBuilder] 14:52:51.545 at compileTemplate (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\@vue\component-compiler-utils\dist\compileTemplate.js:31:16)
[HBuilder] 14:52:51.548 at Object.<anonymous> (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-loader\lib\loaders\templateLoader.js:46:20)
[HBuilder] 14:52:51.551 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js):
[HBuilder] 14:52:51.553 TypeError: Cannot read properties of undefined (reading 'value')
[HBuilder] 14:52:51.556 at genVModel (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\app\service.js:191:78)
[HBuilder] 14:52:51.558 at Array.genData (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\app\service.js:201:3)
[HBuilder] 14:52:51.561 at genData$3 (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4167:32)
[HBuilder] 14:52:51.564 at genElement (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4011:16)
[HBuilder] 14:52:51.566 at genNode (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4423:12)
[HBuilder] 14:52:51.569 at D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4386:55
[HBuilder] 14:52:51.572 at Array.map (<anonymous>)
[HBuilder] 14:52:51.574 at genChildren (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4386:29)
[HBuilder] 14:52:51.576 at genElement (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4014:49)
[HBuilder] 14:52:51.578 at genNode (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4423:12)
[HBuilder] 14:52:51.580 at D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4386:55
[HBuilder] 14:52:51.582 at Array.map (<anonymous>)
[HBuilder] 14:52:51.585 at genChildren (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4386:29)
[HBuilder] 14:52:51.587 at genElement (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4014:49)
[HBuilder] 14:52:51.590 at genFor (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4134:42)
[HBuilder] 14:52:51.593 at genElement (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:3996:12)
[HBuilder] 14:52:51.595 at genNode (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4423:12)
[HBuilder] 14:52:51.598 at D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4386:55
[HBuilder] 14:52:51.601 at Array.map (<anonymous>)
[HBuilder] 14:52:51.603 at genChildren (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4386:29)
[HBuilder] 14:52:51.606 at genElement (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4014:49)
[HBuilder] 14:52:51.608 at generate (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:3979:20)
[HBuilder] 14:52:51.610 at baseCompile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4880:14)
[HBuilder] 14:52:51.613 at compile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4851:22)
[HBuilder] 14:52:51.615 at compileTemplate (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\auto-components.js:92:15)
[HBuilder] 14:52:51.617 at compile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\index.js:74:16)
[HBuilder] 14:52:51.620 at actuallyCompile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\@vue\component-compiler-utils\dist\compileTemplate.js:70:96)
[HBuilder] 14:52:51.623 at compileTemplate (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\@vue\component-compiler-utils\dist\compileTemplate.js:31:16)
[HBuilder] 14:52:51.625 at Object.<anonymous> (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-loader\lib\loaders\templateLoader.js:46:20)
[HBuilder] 14:52:51.628 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js):
[HBuilder] 14:52:51.630 TypeError: Cannot read properties of undefined (reading 'value')
[HBuilder] 14:52:51.633 at genVModel (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\app\service.js:191:78)
[HBuilder] 14:52:51.635 at Array.genData (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\app\service.js:201:3)
[HBuilder] 14:52:51.638 at genData$3 (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4167:32)
[HBuilder] 14:52:51.641 at genElement (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4011:16)
[HBuilder] 14:52:51.643 at genNode (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4423:12)
[HBuilder] 14:52:51.646 at D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4386:55
[HBuilder] 14:52:51.649 at Array.map (<anonymous>)
[HBuilder] 14:52:51.651 at genChildren (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4386:29)
[HBuilder] 14:52:51.653 at genElement (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4014:49)
[HBuilder] 14:52:51.656 at genNode (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4423:12)
[HBuilder] 14:52:51.658 at D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4386:55
[HBuilder] 14:52:51.661 at Array.map (<anonymous>)
[HBuilder] 14:52:51.663 at genChildren (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4386:29)
[HBuilder] 14:52:51.666 at genElement (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4014:49)
[HBuilder] 14:52:51.669 at generate (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:3979:20)
[HBuilder] 14:52:51.671 at baseCompile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4880:14)
[HBuilder] 14:52:51.673 at compile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4851:22)
[HBuilder] 14:52:51.676 at compileTemplate (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\auto-components.js:92:15)
[HBuilder] 14:52:51.679 at compile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\index.js:74:16)
[HBuilder] 14:52:51.681 at actuallyCompile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\@vue\component-compiler-utils\dist\compileTemplate.js:70:96)
[HBuilder] 14:52:51.684 at compileTemplate (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\@vue\component-compiler-utils\dist\compileTemplate.js:31:16)
[HBuilder] 14:52:51.687 at Object.<anonymous> (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-loader\lib\loaders\templateLoader.js:46:20)
[HBuilder] 14:52:51.688 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js):
[HBuilder] 14:52:51.691 TypeError: Cannot read properties of undefined (reading 'value')
[HBuilder] 14:52:51.694 at genVModel (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\app\service.js:191:78)
[HBuilder] 14:52:51.696 at Array.genData (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\app\service.js:201:3)
[HBuilder] 14:52:51.699 at genData$3 (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4167:32)
[HBuilder] 14:52:51.701 at genElement (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4011:16)
[HBuilder] 14:52:51.704 at genNode (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4423:12)
[HBuilder] 14:52:51.707 at D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4386:55
[HBuilder] 14:52:51.710 at Array.map (<anonymous>)
[HBuilder] 14:52:51.713 at genChildren (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4386:29)
[HBuilder] 14:52:51.717 at genElement (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4014:49)
[HBuilder] 14:52:51.719 at generate (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:3979:20)
[HBuilder] 14:52:51.722 at baseCompile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4880:14)
[HBuilder] 14:52:51.724 at compile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4851:22)
[HBuilder] 14:52:51.726 at compileTemplate (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\auto-components.js:92:15)
[HBuilder] 14:52:51.729 at compile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\index.js:74:16)
[HBuilder] 14:52:51.732 at actuallyCompile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\@vue\component-compiler-utils\dist\compileTemplate.js:70:96)
[HBuilder] 14:52:51.735 at compileTemplate (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\@vue\component-compiler-utils\dist\compileTemplate.js:31:16)
[HBuilder] 14:52:51.738 at Object.<anonymous> (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-loader\lib\loaders\templateLoader.js:46:20)
[HBuilder] 14:52:51.741 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js):
[HBuilder] 14:52:51.743 TypeError: Cannot read properties of undefined (reading 'value')
[HBuilder] 14:52:51.746 at genVModel (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\app\service.js:191:78)
[HBuilder] 14:52:51.748 at Array.genData (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\app\service.js:201:3)
[HBuilder] 14:52:51.751 at genData$3 (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4167:32)
[HBuilder] 14:52:51.753 at genElement (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4011:16)
[HBuilder] 14:52:51.755 at generate (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:3979:20)
[HBuilder] 14:52:51.758 at baseCompile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4880:14)
[HBuilder] 14:52:51.760 at compile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-template-compiler\build.js:4851:22)
[HBuilder] 14:52:51.762 at compileTemplate (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\auto-components.js:92:15)
[HBuilder] 14:52:51.765 at compile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\index.js:74:16)
[HBuilder] 14:52:51.766 at actuallyCompile (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\@vue\component-compiler-utils\dist\compileTemplate.js:70:96)
[HBuilder] 14:52:51.769 at compileTemplate (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\@vue\component-compiler-utils\dist\compileTemplate.js:31:16)
[HBuilder] 14:52:51.772 at Object.<anonymous> (D:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\vue-loader\lib\loaders\templateLoader.js:46:20)
[HBuilder] 14:52:51.774 ERROR Build failed with errors.
是因为main.js配置的原因吗

2024-06-26 15:00 负责人:无 分享
已邀请:
h***@foxmail.com

h***@foxmail.com

解决了吗,我也遇到这个了,搞不懂哪里的问题

要回复问题请先登录注册