Open parky128 opened 3 years ago
Hi,
Is this to do with the Angular version we are using perhaps? (v9)
Exactly, the Cypress dev server is configured using the internals of Angular CLI version 12.
Can I get this to work with Angular 9?
Perhaps you can try @jscutlery/cypress-angular-dev-server@0.1.0
, this version does not rely on Angular 12 internals. Let me know if it works.
Hi @edbzn
Ok, thats got me a little further now, but i encounter a new error as follows:
Hi @parky128, which version of html-webpack-plugin are you using?
Hello,
I am attempting to get started using your @jscutlery/cypress-angular package with an angular component library project I am working with (using ng9 by the way)
Anyway, following the setup guide, the necessary cypress directory and config files have been added to the particular project I want to test with.
When I attempt to open the component test runner against the project, I get the following error:
I can see this path indeed does not exist in my node_modules, so no
webpack
subdirectory at@angular-devkit/build-angular/src
:Is this to do with the Angular version we are using perhaps? (v9)
I am guessing it is, as the latest branch of angular_devkit/build_angular does contain the webpack src - https://github.com/angular/angular-cli/tree/11.2.x/packages/angular_devkit/build_angular/src
Can I get this to work with Angular 9?