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

Closed
github1586 opened this issue Nov 27, 2024 · 2 comments
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 ❤️

Copy link
Contributor

github-actions bot commented Dec 3, 2024

As the issue was labelled with need reproduction, but no response in 5 days. This issue will be closed. Feel free to comment and reopen it if you have any further questions. For background, see Why reproductions are required.

由于该 issue 被标记为 "需要重现",但在 5 天内没有回应,因此该 issue 将被关闭。如果你有任何进一步的问题,请随时发表评论并重新打开该 issue。背景请参考 为什么需要最小重现

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 3, 2024
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