nx generate @nx/next:application dry-run fails when @nx/playwright
is not yet installed as a dependency
#30184
Labels
@nx/playwright
is not yet installed as a dependency
#30184
Current Behavior
The nx-console generator for
next
applications hasplaywright
as the default option fore2eTestRunner
. However the dry-run output would always show an error if@nx/playwright
is not yet a part of the project dependencies and hence the actual output stays obscured.The only way to pass it and see the actual dry-run output is to either install
@nx/playwright
or explicitly sete2eTestRunner
to something else ornone
.Expected Behavior
I would expect the actual dry-run output to be shown, along with a warning that
@nx/playwright
would be installed once the "Generate" button is hit. E.g.:GitHub Repo
No response
Steps to Reproduce
setup a monorepo project with nx:
Add
@nx/next
Try to generate a next application
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
I shall be able to fix the issue and create a PR
The text was updated successfully, but these errors were encountered: