关于VForm @2.3.8版本 源码没懂执行npm run lib时的报错

[复制链接]
查看: 2414   回复: 4     已解决

1

主题

0

回帖

1万

积分

论坛元老

Rank: 8Rank: 8

积分
19027
2023-3-17 13:21:49   显示全部楼层   阅读模式  
|  Building for production as library (commonjs,umd,umd-min)...

ERROR  Failed to compile with 10 errors                                                                                                                                                                                      11:18:41

error  in ./src/components/form-designer/form-widget/field-widget/time-range-widget.vue?vue&type=template&id=3d1f6dcb&scoped=true&

Syntax Error: Thread Loader (Worker 0)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/form-widget/field-widget/time-range-widget.vue?vue&type=template&id=3d1f6dcb&scoped=true& 1:0-630 1:0-630
@ ./src/components/form-designer/form-widget/field-widget/time-range-widget.vue
@ ./src/components/form-designer/form-widget/field-widget sync nonrecursive \w+\.vue$
@ ./src/components/form-designer/form-widget/field-widget/index.js
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/form-widget/field-widget/static-text-widget.vue?vue&type=template&id=52f85f88&scoped=true&

Syntax Error: Thread Loader (Worker 1)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/form-widget/field-widget/static-text-widget.vue?vue&type=template&id=52f85f88&scoped=true& 1:0-631 1:0-631
@ ./src/components/form-designer/form-widget/field-widget/static-text-widget.vue
@ ./src/components/form-designer/form-widget/field-widget sync nonrecursive \w+\.vue$
@ ./src/components/form-designer/form-widget/field-widget/index.js
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/form-widget/field-widget/time-widget.vue?vue&type=template&id=33b9a164&scoped=true&

Syntax Error: Thread Loader (Worker 10)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/form-widget/field-widget/time-widget.vue?vue&type=template&id=33b9a164&scoped=true& 1:0-624 1:0-624
@ ./src/components/form-designer/form-widget/field-widget/time-widget.vue
@ ./src/components/form-designer/form-widget/field-widget sync nonrecursive \w+\.vue$
@ ./src/components/form-designer/form-widget/field-widget/index.js
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/index.vue?vue&type=script&lang=js&

Syntax Error: Thread Loader (Worker 3)
Cannot read properties of undefined (reading 'parseComponent')


@ ./src/components/form-designer/index.vue?vue&type=script&lang=js& 1:0-334 1:350-353 1:355-686 1:355-686
@ ./src/components/form-designer/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/form-widget/field-widget/slider-widget.vue?vue&type=script&lang=js&

Syntax Error: Thread Loader (Worker 3)
Cannot read properties of undefined (reading 'parseComponent')


@ ./src/components/form-designer/form-widget/field-widget/slider-widget.vue?vue&type=script&lang=js& 1:0-372 1:388-391 1:393-762 1:393-762
@ ./src/components/form-designer/form-widget/field-widget/slider-widget.vue
@ ./src/components/form-designer/form-widget/field-widget sync nonrecursive \w+\.vue$
@ ./src/components/form-designer/form-widget/field-widget/index.js
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-render/index.vue?vue&type=template&id=380a045b&scoped=true&

Syntax Error: Thread Loader (Worker 3)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-render/index.vue?vue&type=template&id=380a045b&scoped=true& 1:0-576 1:0-576
@ ./src/components/form-render/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-render/container-item/grid-sub-form-item.vue?vue&type=script&lang=js&

Syntax Error: Thread Loader (Worker 8)
Cannot read properties of undefined (reading 'parseComponent')


@ ./src/components/form-render/container-item/grid-sub-form-item.vue?vue&type=script&lang=js& 1:0-362 1:378-381 1:383-742 1:383-742
@ ./src/components/form-render/container-item/grid-sub-form-item.vue
@ ./src/components/form-render/container-item sync nonrecursive \w+\.vue$
@ ./src/components/form-render/container-item/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-render/index.vue?vue&type=script&lang=js&
@ ./src/components/form-render/index.vue?vue&type=script&lang=js&
@ ./src/components/form-render/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/form-widget/field-widget/slot-widget.vue?vue&type=script&lang=js&

Syntax Error: Thread Loader (Worker 8)
Cannot read properties of undefined (reading 'parseComponent')


@ ./src/components/form-designer/form-widget/field-widget/slot-widget.vue?vue&type=script&lang=js& 1:0-370 1:386-389 1:391-758 1:391-758
@ ./src/components/form-designer/form-widget/field-widget/slot-widget.vue
@ ./src/components/form-designer/form-widget/field-widget sync nonrecursive \w+\.vue$
@ ./src/components/form-designer/form-widget/field-widget/index.js
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/form-widget/container-widget/container-wrapper.vue?vue&type=template&id=b98cf8dc&scoped=true&

Syntax Error: Thread Loader (Worker 8)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/form-widget/container-widget/container-wrapper.vue?vue&type=template&id=b98cf8dc&scoped=true& 1:0-630 1:0-630
@ ./src/components/form-designer/form-widget/container-widget/container-wrapper.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/form-widget/field-widget/switch-widget.vue?vue&type=template&id=32dc242b&scoped=true&

Syntax Error: Thread Loader (Worker 9)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/form-widget/field-widget/switch-widget.vue?vue&type=template&id=32dc242b&scoped=true& 1:0-626 1:0-626
@ ./src/components/form-designer/form-widget/field-widget/switch-widget.vue
@ ./src/components/form-designer/form-widget/field-widget sync nonrecursive \w+\.vue$
@ ./src/components/form-designer/form-widget/field-widget/index.js
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

Error parsing bundle asset "E:\VForm\variant-form Date 2023-03-17\variant-form-pro-master\dist\lib\VFormDesigner.umd.js": no such file

No bundles were parsed. Analyzer will show only original module sizes from stats file.

/  Building for production as library (commonjs,umd,umd-min)...

ERROR  Failed to compile with 21 errors                                                                                                                                                                                      11:18:43

error  in ./src/components/form-designer/setting-panel/property-editor/container-vf-dialog/disabledMode-editor.vue?vue&type=template&id=063ae02f&scoped=true&

Syntax Error: Thread Loader (Worker 0)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/setting-panel/property-editor/container-vf-dialog/disabledMode-editor.vue?vue&type=template&id=063ae02f&scoped=true& 1:0-653 1:0-653
@ ./src/components/form-designer/setting-panel/property-editor/container-vf-dialog/disabledMode-editor.vue
@ ./src/components/form-designer/setting-panel/property-editor sync \w+\.vue$
@ ./src/components/form-designer/setting-panel/property-editor/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/form-widget/field-widget/static-text-widget.vue?vue&type=template&id=52f85f88&scoped=true&

Syntax Error: Thread Loader (Worker 1)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/form-widget/field-widget/static-text-widget.vue?vue&type=template&id=52f85f88&scoped=true& 1:0-631 1:0-631
@ ./src/components/form-designer/form-widget/field-widget/static-text-widget.vue
@ ./src/components/form-designer/form-widget/field-widget sync nonrecursive \w+\.vue$
@ ./src/components/form-designer/form-widget/field-widget/index.js
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/setting-panel/property-editor/container-vf-dialog/closeOnClickModal-editor.vue?vue&type=template&id=31d7e159&scoped=true&

Syntax Error: Thread Loader (Worker 10)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/setting-panel/property-editor/container-vf-dialog/closeOnClickModal-editor.vue?vue&type=template&id=31d7e159&scoped=true& 1:0-658 1:0-658
@ ./src/components/form-designer/setting-panel/property-editor/container-vf-dialog/closeOnClickModal-editor.vue
@ ./src/components/form-designer/setting-panel/property-editor sync \w+\.vue$
@ ./src/components/form-designer/setting-panel/property-editor/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/form-widget/field-widget/switch-widget.vue?vue&type=template&id=32dc242b&scoped=true&

Syntax Error: Thread Loader (Worker 2)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/form-widget/field-widget/switch-widget.vue?vue&type=template&id=32dc242b&scoped=true& 1:0-626 1:0-626
@ ./src/components/form-designer/form-widget/field-widget/switch-widget.vue
@ ./src/components/form-designer/form-widget/field-widget sync nonrecursive \w+\.vue$
@ ./src/components/form-designer/form-widget/field-widget/index.js
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/extension/samples/card/card-item.vue?vue&type=script&lang=js&

Syntax Error: Thread Loader (Worker 3)
Cannot read properties of undefined (reading 'parseComponent')


@ ./src/extension/samples/card/card-item.vue?vue&type=script&lang=js& 1:0-353 1:369-372 1:374-724 1:374-724
@ ./src/extension/samples/card/card-item.vue
@ ./src/extension/extension-loader.js
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/form-widget/container-widget/vf-dialog-widget.vue?vue&type=template&id=140c4068&scoped=true&

Syntax Error: Thread Loader (Worker 3)
Cannot read properties of undefined (reading 'parseComponent')


@ ./src/components/form-designer/form-widget/container-widget/vf-dialog-widget.vue?vue&type=template&id=140c4068&scoped=true& 1:0-629 1:0-629
@ ./src/components/form-designer/form-widget/container-widget/vf-dialog-widget.vue
@ ./src/components/form-designer/form-widget/container-widget sync nonrecursive \w+\.vue$
@ ./src/components/form-designer/form-widget/container-widget/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/form-widget/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/form-widget/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/form-widget/index.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/form-widget/field-widget/slot-widget.vue?vue&type=template&id=856e2df6&scoped=true&

Syntax Error: Thread Loader (Worker 3)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/form-widget/field-widget/slot-widget.vue?vue&type=template&id=856e2df6&scoped=true& 1:0-624 1:0-624
@ ./src/components/form-designer/form-widget/field-widget/slot-widget.vue
@ ./src/components/form-designer/form-widget/field-widget sync nonrecursive \w+\.vue$
@ ./src/components/form-designer/form-widget/field-widget/index.js
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/setting-panel/property-editor/container-tree/tree-nodeEdit-editor.vue?vue&type=template&id=0535d33b&scoped=true&

Syntax Error: Thread Loader (Worker 4)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/setting-panel/property-editor/container-tree/tree-nodeEdit-editor.vue?vue&type=template&id=0535d33b&scoped=true& 1:0-654 1:0-654
@ ./src/components/form-designer/setting-panel/property-editor/container-tree/tree-nodeEdit-editor.vue
@ ./src/components/form-designer/setting-panel/property-editor sync \w+\.vue$
@ ./src/components/form-designer/setting-panel/property-editor/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/svg-icon/index.vue?vue&type=template&id=1a7581a2&scoped=true&

Syntax Error: Thread Loader (Worker 4)
The "from" argument must be of type string. Received undefined


@ ./src/components/svg-icon/index.vue?vue&type=template&id=1a7581a2&scoped=true& 1:0-576 1:0-576
@ ./src/components/svg-icon/index.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/form-widget/field-widget/select-widget.vue?vue&type=template&id=27300be9&scoped=true&

Syntax Error: Thread Loader (Worker 5)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/form-widget/field-widget/select-widget.vue?vue&type=template&id=27300be9&scoped=true& 1:0-626 1:0-626
@ ./src/components/form-designer/form-widget/field-widget/select-widget.vue
@ ./src/components/form-designer/form-widget/field-widget sync nonrecursive \w+\.vue$
@ ./src/components/form-designer/form-widget/field-widget/index.js
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/form-widget/index.vue?vue&type=template&id=13082a3f&scoped=true&

Syntax Error: Thread Loader (Worker 5)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/form-widget/index.vue?vue&type=template&id=13082a3f&scoped=true& 1:0-597 1:0-597
@ ./src/components/form-designer/form-widget/index.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/form-widget/field-widget/time-range-widget.vue?vue&type=template&id=3d1f6dcb&scoped=true&

Syntax Error: Thread Loader (Worker 6)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/form-widget/field-widget/time-range-widget.vue?vue&type=template&id=3d1f6dcb&scoped=true& 1:0-630 1:0-630
@ ./src/components/form-designer/form-widget/field-widget/time-range-widget.vue
@ ./src/components/form-designer/form-widget/field-widget sync nonrecursive \w+\.vue$
@ ./src/components/form-designer/form-widget/field-widget/index.js
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-render/container-item/sub-form-item.vue?vue&type=template&id=c0598216&scoped=true&

Syntax Error: Thread Loader (Worker 6)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-render/container-item/sub-form-item.vue?vue&type=template&id=c0598216&scoped=true& 1:0-605 1:0-605
@ ./src/components/form-render/container-item/sub-form-item.vue
@ ./src/components/form-render/container-item sync nonrecursive \w+\.vue$
@ ./src/components/form-render/container-item/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-render/index.vue?vue&type=script&lang=js&
@ ./src/components/form-render/index.vue?vue&type=script&lang=js&
@ ./src/components/form-render/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/form-widget/field-widget/textarea-widget.vue?vue&type=template&id=64a5792b&scoped=true&

Syntax Error: Thread Loader (Worker 7)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/form-widget/field-widget/textarea-widget.vue?vue&type=template&id=64a5792b&scoped=true& 1:0-628 1:0-628
@ ./src/components/form-designer/form-widget/field-widget/textarea-widget.vue
@ ./src/components/form-designer/form-widget/field-widget sync nonrecursive \w+\.vue$
@ ./src/components/form-designer/form-widget/field-widget/index.js
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/setting-panel/property-editor/container-sub-form/showRowNumber-editor.vue?vue&type=template&id=148dc69b&scoped=true&

Syntax Error: Thread Loader (Worker 7)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/setting-panel/property-editor/container-sub-form/showRowNumber-editor.vue?vue&type=template&id=148dc69b&scoped=true& 1:0-654 1:0-654
@ ./src/components/form-designer/setting-panel/property-editor/container-sub-form/showRowNumber-editor.vue
@ ./src/components/form-designer/setting-panel/property-editor sync \w+\.vue$
@ ./src/components/form-designer/setting-panel/property-editor/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/form-widget/field-widget/slider-widget.vue?vue&type=script&lang=js&

Syntax Error: Thread Loader (Worker 8)
Cannot read properties of undefined (reading 'parseComponent')


@ ./src/components/form-designer/form-widget/field-widget/slider-widget.vue?vue&type=script&lang=js& 1:0-372 1:388-391 1:393-762 1:393-762
@ ./src/components/form-designer/form-widget/field-widget/slider-widget.vue
@ ./src/components/form-designer/form-widget/field-widget sync nonrecursive \w+\.vue$
@ ./src/components/form-designer/form-widget/field-widget/index.js
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-render/container-item/data-table-item.vue?vue&type=template&id=737ffea3&scoped=true&

Syntax Error: Thread Loader (Worker 8)
Cannot read properties of undefined (reading 'parseComponent')


@ ./src/components/form-render/container-item/data-table-item.vue?vue&type=template&id=737ffea3&scoped=true& 1:0-607 1:0-607
@ ./src/components/form-render/container-item/data-table-item.vue
@ ./src/components/form-render/container-item sync nonrecursive \w+\.vue$
@ ./src/components/form-render/container-item/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-render/index.vue?vue&type=script&lang=js&
@ ./src/components/form-render/index.vue?vue&type=script&lang=js&
@ ./src/components/form-render/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/form-widget/field-widget/button-widget.vue?vue&type=template&id=4c2b164f&scoped=true&

Syntax Error: Thread Loader (Worker 8)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/form-widget/field-widget/button-widget.vue?vue&type=template&id=4c2b164f&scoped=true& 1:0-626 1:0-626
@ ./src/components/form-designer/form-widget/field-widget/button-widget.vue
@ ./src/components/form-designer/form-widget/field-widget sync nonrecursive \w+\.vue$
@ ./src/components/form-designer/form-widget/field-widget/index.js
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-render/index.vue?vue&type=template&id=380a045b&scoped=true&

Syntax Error: Thread Loader (Worker 8)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-render/index.vue?vue&type=template&id=380a045b&scoped=true& 1:0-576 1:0-576
@ ./src/components/form-render/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/setting-panel/property-editor/container-vf-drawer/vf-drawer-size-editor.vue?vue&type=template&id=86d983b4&scoped=true&

Syntax Error: Thread Loader (Worker 9)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/setting-panel/property-editor/container-vf-drawer/vf-drawer-size-editor.vue?vue&type=template&id=86d983b4&scoped=true& 1:0-655 1:0-655
@ ./src/components/form-designer/setting-panel/property-editor/container-vf-drawer/vf-drawer-size-editor.vue
@ ./src/components/form-designer/setting-panel/property-editor sync \w+\.vue$
@ ./src/components/form-designer/setting-panel/property-editor/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/setting-panel/property-editor/container-vf-dialog/closeOnPressEscape-editor.vue?vue&type=template&id=1a2a51da&scoped=true&

Syntax Error: Thread Loader (Worker 9)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/setting-panel/property-editor/container-vf-dialog/closeOnPressEscape-editor.vue?vue&type=template&id=1a2a51da&scoped=true& 1:0-659 1:0-659
@ ./src/components/form-designer/setting-panel/property-editor/container-vf-dialog/closeOnPressEscape-editor.vue
@ ./src/components/form-designer/setting-panel/property-editor sync \w+\.vue$
@ ./src/components/form-designer/setting-panel/property-editor/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

Error parsing bundle asset "E:\VForm\variant-form Date 2023-03-17\variant-form-pro-master\dist\lib\VFormDesigner.common.js": no such file

No bundles were parsed. Analyzer will show only original module sizes from stats file.

-  Building for production as library (commonjs,umd,umd-min)...

ERROR  Failed to compile with 17 errors                                                                                                                                                                                      11:18:48

error  in ./src/components/form-designer/setting-panel/property-editor/event-handler/onSelectionChange-editor.vue?vue&type=template&id=44fb64f5&scoped=true&

Syntax Error: Thread Loader (Worker 0)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/setting-panel/property-editor/event-handler/onSelectionChange-editor.vue?vue&type=template&id=44fb64f5&scoped=true& 1:0-658 1:0-658
@ ./src/components/form-designer/setting-panel/property-editor/event-handler/onSelectionChange-editor.vue
@ ./src/components/form-designer/setting-panel/property-editor sync \w+\.vue$
@ ./src/components/form-designer/setting-panel/property-editor/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue?vue&type=template&id=7d90012c&scoped=true&

Syntax Error: Thread Loader (Worker 1)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue?vue&type=template&id=7d90012c&scoped=true& 1:0-637 1:0-637
@ ./src/components/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue
@ ./src/components/form-designer/setting-panel/property-editor sync \w+\.vue$
@ ./src/components/form-designer/setting-panel/property-editor/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/setting-panel/property-editor/event-handler/onNodeContextmenu-editor.vue?vue&type=template&id=6da97cb8&scoped=true&

Syntax Error: Thread Loader (Worker 10)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/setting-panel/property-editor/event-handler/onNodeContextmenu-editor.vue?vue&type=template&id=6da97cb8&scoped=true& 1:0-658 1:0-658
@ ./src/components/form-designer/setting-panel/property-editor/event-handler/onNodeContextmenu-editor.vue
@ ./src/components/form-designer/setting-panel/property-editor sync \w+\.vue$
@ ./src/components/form-designer/setting-panel/property-editor/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/setting-panel/property-editor/field-time/time-format-editor.vue?vue&type=template&id=48147b42&scoped=true&

Syntax Error: Thread Loader (Worker 2)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/setting-panel/property-editor/field-time/time-format-editor.vue?vue&type=template&id=48147b42&scoped=true& 1:0-652 1:0-652
@ ./src/components/form-designer/setting-panel/property-editor/field-time/time-format-editor.vue
@ ./src/components/form-designer/setting-panel/property-editor sync \w+\.vue$
@ ./src/components/form-designer/setting-panel/property-editor/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-render/index.vue?vue&type=script&lang=js&

Syntax Error: Thread Loader (Worker 3)
Cannot read properties of undefined (reading 'parseComponent')


@ ./src/components/form-render/index.vue?vue&type=script&lang=js& 1:0-334 1:350-353 1:355-686 1:355-686
@ ./src/components/form-render/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/form-widget/field-widget/rate-widget.vue?vue&type=script&lang=js&

Syntax Error: Thread Loader (Worker 3)
Cannot read properties of undefined (reading 'parseComponent')


@ ./src/components/form-designer/form-widget/field-widget/rate-widget.vue?vue&type=script&lang=js& 1:0-370 1:386-389 1:391-758 1:391-758
@ ./src/components/form-designer/form-widget/field-widget/rate-widget.vue
@ ./src/components/form-designer/form-widget/field-widget sync nonrecursive \w+\.vue$
@ ./src/components/form-designer/form-widget/field-widget/index.js
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/setting-panel/property-editor/optionItems-editor.vue?vue&type=template&id=39734ef1&scoped=true&

Syntax Error: Thread Loader (Worker 3)
The "from" argument must be of type string. Received undefined


@ ./src/components/form-designer/setting-panel/property-editor/optionItems-editor.vue?vue&type=template&id=39734ef1&scoped=true& 1:0-631 1:0-631
@ ./src/components/form-designer/setting-panel/property-editor/optionItems-editor.vue
@ ./src/components/form-designer/setting-panel/property-editor sync \w+\.vue$
@ ./src/components/form-designer/setting-panel/property-editor/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/setting-panel/index.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue?vue&type=script&lang=js&
@ ./src/components/form-designer/index.vue
@ ./install.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

error  in ./src/components/form-designer/setting-panel/property-editor/labelTooltip-editor.vue?vue&type=template&id=4bb85541&scoped=true&

Syntax Error: Thread Loader (Worker 4)
The "from" argument must be of type string. Received undefined

admin已获得悬赏 200 威望

最佳答案

注意,package.json文件有两处都要修改为"2.6.14": ------------------- "vue": "2.6.14", "vue-template-compiler": "2.6.14"

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册账号

x
回复

使用道具 举报

5

主题

19

回帖

1万

积分

论坛元老

Rank: 8Rank: 8

积分
18999
2023-3-17 13:35:32   显示全部楼层  
看看这个帖子能不能解决
http://pay.chat.vform666.com/forum.php?mod=viewthread&tid=16&extra=page%3D1




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册账号

x
回复

使用道具 举报

7

主题

237

回帖

27万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
271857
2023-3-17 13:41:37   显示全部楼层  
是的,这是跟vue 2.7版本冲突了,按上面链接给出的方法,把vue版本降级到2.6.14即可。
回复

使用道具 举报

7

主题

237

回帖

27万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
271857
2023-3-17 13:44:25   显示全部楼层  
注意,package.json文件有两处都要修改为"2.6.14":
-------------------
"vue": "2.6.14",

"vue-template-compiler": "2.6.14"
回复

使用道具 举报

0

主题

3

回帖

3

积分

新手上路

Rank: 1

积分
3
2023-7-28 15:37:07   显示全部楼层  
请忽略此条评论....
回复

使用道具 举报

您需要登录后才可以回帖   登录 注册账号

高级模式