Hummmm... Which angular version are you using? If you compile to production, angular object is not there. I wonder if ivy's compilation, being default to production, is the culprit.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm getting the error angular.getComponent is not a function
I had the same issue, and I solved it as follows:
cy.window()
cy.wait(500)
cy.window().then((win) => {
angular = (win as any).ng;
})
Hummmm... Which angular version are you using? If you compile to production, angular object is not there. I wonder if ivy's compilation, being default to production, is the culprit.