Webpack failure when trying out componet testing #24188
Unanswered
alasdairrobinson
asked this question in
Component Testing
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to experiment with the new component test features of Cypress 10 and I'm getting the following failure:
Error: Webpack Compilation Error
nx/node_modules/ngx-bootstrap/datepicker/fesm2015/ngx-bootstrap-datepicker.mjs
Module not found: Error: Can't resolve '@angular/animations' in 'nx\node_modules\ngx-bootstrap\datepicker\fesm2015'
We've tried against the date picker component mentioned above which has a dependency on animation, but we've also tried against a component which has no dependency on animations and we get exactly the same error.
Has anyone seen similar problems on an Nx angular project?
Beta Was this translation helpful? Give feedback.
All reactions