You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have added a new Angular application to my current monorepo.
When running npx nx e2e appname-e2e, the Deamon process is terminated and closed. In the deamon.log an error occurs:
"Error: The externalDependency '@playwright/test' for 'fleet-reporting-e2e:e2e' could not be found"
Steps that I did to try to resolve this:
nx reset
removing package-lock, node_modules and .nx cache
Comparing the monorepo with a clean new nx monorepo
@playwright/test is available in the node_modules folder
C:\dev\repositories\fleet-reporting-frontend\node_modules\nx\src\hasher\native-task-hasher-impl.js:32
const plans = this.planner.getPlansReference(tasks.map((t) => t.id), taskGraph); ^Error: The externalDependency '@playwright/test' for 'fleet-reporting-e2e:e2e' could not be found at NativeTaskHasherImpl.hashTasks (C:\dev\repositories\fleet-reporting-frontend\node_modules\nx\src\hasher\native-task-hasher-impl.js:32:36) at InProcessTaskHasher.hashTasks (C:\dev\repositories\fleet-reporting-frontend\node_modules\nx\src\hasher\task-hasher.js:41:46) at handleHashTasks (C:\dev\repositories\fleet-reporting-frontend\node_modules\nx\src\daemon\server\handle-hash-tasks.js:30:56) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async handleResult (C:\dev\repositories\fleet-reporting-frontend\node_modules\nx\src\daemon\server\server.js:183:16) at async handleMessage (C:\dev\repositories\fleet-reporting-frontend\node_modules\nx\src\daemon\server\server.js:112:9) at async C:\dev\repositories\fleet-reporting-frontend\node_modules\nx\src\daemon\server\server.js:74:9 { code: 'GenericFailure'}Node.js v20.18.2
Package Manager Version
No response
Operating System
macOS
Linux
Windows
Other (Please specify)
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Anjanas-dh
changed the title
'@playwirhgt/test could not be found' when running e2e tests
'@playwright/test could not be found' when running e2e tests
Feb 21, 2025
Current Behavior
I have added a new Angular application to my current monorepo.
When running
npx nx e2e appname-e2e
, the Deamon process is terminated and closed. In the deamon.log an error occurs:"Error: The externalDependency '@playwright/test' for 'fleet-reporting-e2e:e2e' could not be found"
Steps that I did to try to resolve this:
Expected Behavior
I expect the e2e tests to run with playwright
GitHub Repo
No response
Steps to Reproduce
Not sure if I can provide this.
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: