playwright icon indicating copy to clipboard operation
playwright copied to clipboard

[BUG] Installation tests are broken

Open dgozman opened this issue 2 years ago • 4 comments

Must be fixed for 1.25.

dgozman avatar Aug 05 '22 01:08 dgozman

(Caused by the last NPM release)

mxschmitt avatar Aug 05 '22 04:08 mxschmitt

Confirmed locally test passes with older npm@8, but fails after upgrade to https://github.com/npm/cli/releases/tag/v8.16.0

rwoll avatar Aug 05 '22 21:08 rwoll

Upstream https://github.com/npm/cli/issues/5268

rwoll avatar Aug 05 '22 21:08 rwoll

Must be fixed for 1.25.

For now, I will pin to last working version of npm for these tests. Running npx playwright --help outside of project works fine on latest version; it's only when you combine it with npm_config_prefix setting (which our tests do), that it seems to be broken (and I suspect most users do not have a custom config prefix.)

Also note, per my upstream filing, it's not restricted to PW package. serve package exhibits the behavior as well.

rwoll avatar Aug 05 '22 21:08 rwoll