Closed Teebo closed 4 months ago
Hi @FrozenPandaz , is this something I address with Nx or maybe Cypress? Thanks
Your repo seems to be gone or I don't have access. Did you solve the issue?
@FrozenPandaz I have updated the issue. You should be able to access the repo now. Thanks
This issue has been automatically marked as stale because no reproduction was provided within 7 days. Please help us help you. Providing a repository exhibiting the issue helps us diagnose and fix the issue. Any time that we spend reproducing this issue is time taken away from addressing this issue and other issues. This issue will be closed in 21 days if a reproduction is not provided. If a reproduction has been provided, please reply to keep it active. Thanks for being a part of the Nx community! 🙏
@Teebo thanks for providing access to the repo. Unfortunately, I can't reproduce the issue using the provided reproduction. When I run npm run e2e
in that repo, I can see the lazy-component works!
text correctly rendered in all browsers.
The issue might be caused by an environment-specific configuration. I can see that this has been reported in the Cypress repo in the past: https://github.com/cypress-io/cypress/issues/7509, but there was no clear resolution because the Cypress team couldn't reproduce it either. Someone mentioned the issue only happened to them when they had, and quote, "a corporate security/monitoring software running (Symantec WSS Agent)". It might be worth checking if you're also using other similar corporate security tools and if you still have the issue when running your tests in an environment without them.
In any case, since the issue has been reported in the Cypress repo for non-Nx repos, it seems to be a Cypress issue and not something caused by Nx. I'm going to close this for the time being, and I suggest you bring this up in the Cypress repo. If you find any evidence this is caused by Nx, please leave us a message or create a new issue with the needed details for us to reproduce the issue.
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Current Behavior
When the root path loads a module like below
The command to start Cypress in headed mode fails with the error.
npm i
)npm run e2e
), this will build and open the Cypress desktop app.But if you select another browser like Electron the error is not there
ERROR Error: Uncaught (in promise): Error: NG04002: Cannot match any routes. URL Segment: '__'
This happens on Chrome and Firefox but works with Electron and Edge
Expected Behavior
The Angular application to be loaded on the browser.
GitHub Repo
https://github.com/Teebo/cypress-bug
Steps to Reproduce
router-outlet
directiveNx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
This issue exists with the below Nx report also: