0

I am trying to install Playwright using the command line without a prompt. It should pick up JavaScript and leave the other defaults.

I tried the following option:- npm init playwright@latest -- --language=js --quiet --install-deps

It is still picking up Typescript. How to make it Javascript?

1 Answer 1

3

Should be --lang=js instead of --language=js

so the full command would be

npm init playwright@latest -- --lang=js --quiet --install-deps

If you want to see what arguments specific package can take you can run

npm init playwright@latest -- --help

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.