Closed devinshoemaker closed 3 years ago
@devinshoemaker - I also ran into this problem. It appears to be owing to some outdated dependencies.
I have a plain vanilla Angular project generated using version 10.1.1 of the Angular CLI and noticed that some of the dependencies in the nwrl Angular template are significantly older than in the plain Angular project.
Anyhow I ended up doing an `npm install --save-dev' of the versions of the devDependencies in the following picture and was able to get it working. I think it's probably just the jasmine-core and jasmine-spec-reporter dependencies that would need updating at an absolute minimum:
yep, adjusting the tsconfig.json
in the e2e test to point to ../../tsconfig.base.json
+ upgrading the jasmine-spec-reporter
does the job.
I have a fix for it in the pipe soon
Awesome, thanks!
@devinshoemaker should be released with 10.4.0. Using nx migrate
should fix the issue automatically, as well as new workspaces shouldn't have it any more
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
Protractor e2e tests fail on a newly generated Nrwl Angular application with the error:
It appears that the e2e tsconfig is extending the wrong file. It should be
"extends": "../../tsconfig.base.json"
. However, after changing this, I receive a different error:Expected Behavior
Protractor e2e tests on a newly generated Nrwl Angular application should succeed.
Steps to Reproduce
Failure Logs
Environment