Description
Version
System:
OS: macOS 14.6.1
CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
Memory: 1.42 GB / 16.00 GB
Shell: 5.9 - /bin/zsh
Browsers:
Safari: 17.6
npmPackages:
@rsbuild/core: ^1.1.6 => 1.1.6
@rsbuild/plugin-babel: ^1.0.3 => 1.0.3
@rsbuild/plugin-vue2: ^1.0.2 => 1.0.2
× ModuleError: (Emitted value instead of an instance of Error)
│
│ Errors compiling template:
│
│ Component template requires a root element, rather than just text.
│
│ 1 | var render = function () {}
│ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
│ 2 | var staticRenderFns = []
│ | ^^^^^^^^^^^^^^^^^^^^^^^^
│ 3 |
│ |
│ 4 | export { render, staticRenderFns }
Details
× ModuleError: (Emitted value instead of an instance of Error)
│
│ Errors compiling template:
│
│ Component template requires a root element, rather than just text.
│
│ 1 | var render = function () {}
│ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
│ 2 | var staticRenderFns = []
│ | ^^^^^^^^^^^^^^^^^^^^^^^^
│ 3 |
│ |
│ 4 | export { render, staticRenderFns }
Reproduce link
no demo
Reproduce Steps
× ModuleError: (Emitted value instead of an instance of Error)
│
│ Errors compiling template:
│
│ Component template requires a root element, rather than just text.
│
│ 1 | var render = function () {}
│ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
│ 2 | var staticRenderFns = []
│ | ^^^^^^^^^^^^^^^^^^^^^^^^
│ 3 |
│ |
│ 4 | export { render, staticRenderFns }