-
Notifications
You must be signed in to change notification settings - Fork 309
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]: Error: Cannot find module './src/host' #1133
Comments
I should have raised this last night! When doing my testing I noticed the When doing local testing, I had to manually copy that folder ( Using I'm not sure why it's no longer being included in the published bundle, but that is the cause of the error, and it'll likely cause problems for any consumer of the package. |
Seem like this line https://github.com/thymikee/jest-preset-angular/blob/main/.npmignore#L6 did a recursive search and caused the problem. |
I'm encountering this as well. |
Thanks for the quick turnaround. |
11.0.0-rc.1 was out, the problem should be fixed now |
Can confirm. This fixed the issue we were seeing. But I'm now seeing another related to Angular Material initialization:
Guess I'll open a new issue for it. It's happening with several Angular Material component modules. |
Version
v11.0.0-rc.0
Steps to reproduce
^10.1.0
to11.0.0-rc.0
Expected behavior
Tests run
Actual behavior
Error is thrown
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: