Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs]: Getting started - VS Code #32861

Open
mattias-m-andersson opened this issue Sep 28, 2024 · 2 comments
Open

[Docs]: Getting started - VS Code #32861

mattias-m-andersson opened this issue Sep 28, 2024 · 2 comments

Comments

@mattias-m-andersson
Copy link

mattias-m-andersson commented Sep 28, 2024

Page(s)

The problem

On the page getting started vscode the "getting started" is brought to an immediate halt on "Install Playwright" with the following error message i VS Code Terminal.

PS C:\Dev\Playwright> npm init playwright@latest --yes -- --quiet --browser=chromium --browser=firefox --browser=webkit --gha npm: The term 'npm' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Nowhere is there a mention the need for the package manager NPM, or how to install it.

How I got into it...

After listening to this episode of podcast .NET Rocks, where it is mentioned that "... give it 7 minutes and try it out", I was wo exited to get started.

Description

Clearly state the dependencies and guilde me through the process of getting there.
Also how to trouble shoot common errors would be nice.

@vladkrasn
Copy link

vladkrasn commented Sep 28, 2024

Npm is a Node.js thing.
image

For .NET, see this https://playwright.dev/dotnet/docs/intro

@Skn0tt
Copy link
Member

Skn0tt commented Sep 30, 2024

Right, the VS Code Extension is only meant for usage with Node.js Playwright. I'll see what we can do to make this more clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants