-
Notifications
You must be signed in to change notification settings - Fork 816
Open
Labels
ionitron: needs reproductionThis PR or Issue does not have a reproduction case URLThis PR or Issue does not have a reproduction case URL
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Stencil Version
=4.28.0
Current Behavior
When upgrading from 4.27.2
to v4.28.0
or all future versions we get the following error in a project running Vite when running Vitest.
Error: Constructor for "my-checkbox#undefined" was not found
initializeComponent node_modules/@stencil/core/internal/client/index.j
s?app-data=conditional:3858:13
This error originated in "src/__tests__/pages/*.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while
it was running.
The latest test that might've caused the error is "Editing search filter edits rows in table". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
The diff:
v4.27.2...v4.28.0
Expected Behavior
Works fine before 4.28.0
System Info
System: node 22.19.0
Platform: linux (6.6.87.2-microsoft-standard-WSL2)
CPU Model: 12th Gen Intel(R) Core(TM) i7-12800HX (24 cpus)
Compiler: /home/username/dev/tmp/my-project/node_modules/@stencil/core/compiler/stencil.js
Build: 1757722623
Stencil: 4.37.0
TypeScript: 5.5.4
Rollup: 4.34.9
Parse5: 7.2.1
jQuery: 4.0.0-pre
Terser: 5.37.0
Steps to Reproduce
This is the same project as in #6415, so I'll see if I can manage to get a reproduction repo up and running
Code Reproduction URL
N/A
Additional Information
No response
johnjenkins
Metadata
Metadata
Assignees
Labels
ionitron: needs reproductionThis PR or Issue does not have a reproduction case URLThis PR or Issue does not have a reproduction case URL