-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Nx test fails after creation of stencil library #309
Comments
I also had this problem when migrating from NX11 to NX12. The cause was incompatible Jest dependencies. After all Jest dependencies (important: Jest@26) were compatible with each other , it worked again. The only pain point is the non-migrated version of the plugin. I can only run it in version 11. All other NX plugins are version 12 :-( In my opinion, this is because: NX 12 brings Jest with version 27. Jest 27 does not yet work with StencilJS, see stenciljs/core#2942 or stenciljs/core#2922. As soon as stenciljs has solved the problem, hopefully this problem has also been solved! |
The main problem here is definitely the jest version. Something I try to override but unfortunately Nx does set the version of jest to 27. I wait for the stencil fix here eagerly |
Using NX11 does work. Thank you Chris for linking to the issue in stencil-js. I'll wait with the migration to 12 until they fixed the issue |
Today Stencil 2.13 came out with support for jest 27 |
After creating a new empty nx workspace and creating a stencil library (nx g @nxext/stencil:lib my-lib), jest throws the following error.
here is the package.json
package.txt
The text was updated successfully, but these errors were encountered: