Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: vue2.7 @rsbuild/core: ^1.1.6 => 1.1.6 @rsbuild/plugin-vue2: ^1.0.2 => 1.0.2 #4071

Open
github1586 opened this issue Nov 27, 2024 · 1 comment
Labels
🐞 bug Something isn't working need reproduction

Comments

@github1586
Copy link

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 }

@github1586 github1586 added the 🐞 bug Something isn't working label Nov 27, 2024
Copy link
Contributor

Hello @github1586. Please provide a reproduction repository or online demo. For background, see Why reproductions are required. Thanks ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working need reproduction
Projects
None yet
Development

No branches or pull requests

2 participants