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
PS C:\my-project> yarn playwright test
yarn run v1.22.22
$ C:\my-project\node_modules\.bin\playwright test
/usr/bin/bash: line 1: C:my-projectnode_modules.binplaywright: command not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Additional context
This happens depending on the location of the project, for example, I do not have this problem if the project folder is on the desktop.
This also happens with older versions of playwright
I am able to run the tests using node ./node_modules/playwright/cli.js test
Closing as part of the triage process since it seemed stale. Please create a new issue with a detailed reproducible or feature request if you still face issues.
Version
1.49.1
Steps to reproduce
yarn init
yarn create playwright
yarn playwright test
Expected behavior
Tests should be run
Actual behavior
I get the following error:
Additional context
node ./node_modules/playwright/cli.js test
Environment
The text was updated successfully, but these errors were encountered: