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
VS Code extension shows warning Please install Playwright Test via running npm i --save-dev @playwright/test but when I go to "Output" -> "Window" I see an error:
[error] [Extension Host] Error: not found: node
at ci (/Users/.../.vscode/extensions/ms-playwright.playwright-1.0.6/out/extension.js
I was struggling to run Playwright VS Code extension in my monorepo project. After installing node with homebrew it started working, so the error I posted was crucial here. It couldn't find node because I'm using nvm configured with fish so I guess it couldn't find an executable, but IMHO the most important thing here is to show users a proper error message.
The text was updated successfully, but these errors were encountered:
Merging into #18954, you don't need to have a global node installation, it is a VS Code bug where it does not mirror the environment in time into the extension host.
Context:
Describe the bug
VS Code extension shows warning
Please install Playwright Test via running npm i --save-dev @playwright/test
but when I go to "Output" -> "Window" I see an error:I was struggling to run Playwright VS Code extension in my monorepo project. After installing
node
withhomebrew
it started working, so the error I posted was crucial here. It couldn't findnode
because I'm usingnvm
configured withfish
so I guess it couldn't find an executable, but IMHO the most important thing here is to show users a proper error message.The text was updated successfully, but these errors were encountered: