Skip to content

Commit 1489fbd

Browse files
authored
fix: do not recommend yarn (#794)
There's some confusion around Yarn vs Yarn 2 and their interop, which apparently causes some [installation issues](https://stackoverflow.com/questions/59918776/playwright-error-firefox-revision-is-not-downloaded-run-npm-install-or-yarn)
1 parent b8199c0 commit 1489fbd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/server/chromium.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ export class Chromium implements BrowserType {
248248
_resolveExecutablePath(): { executablePath: string; missingText: string | null; } {
249249
const browserFetcher = this._createBrowserFetcher();
250250
const revisionInfo = browserFetcher.revisionInfo();
251-
const missingText = !revisionInfo.local ? `Chromium revision is not downloaded. Run "npm install" or "yarn install"` : null;
251+
const missingText = !revisionInfo.local ? `Chromium revision is not downloaded. Run "npm install"` : null;
252252
return { executablePath: revisionInfo.executablePath, missingText };
253253
}
254254
}

src/server/firefox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export class Firefox implements BrowserType {
227227
_resolveExecutablePath() {
228228
const browserFetcher = this._createBrowserFetcher();
229229
const revisionInfo = browserFetcher.revisionInfo();
230-
const missingText = !revisionInfo.local ? `Firefox revision is not downloaded. Run "npm install" or "yarn install"` : null;
230+
const missingText = !revisionInfo.local ? `Firefox revision is not downloaded. Run "npm install"` : null;
231231
return { executablePath: revisionInfo.executablePath, missingText };
232232
}
233233
}

src/server/webkit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export class WebKit implements BrowserType {
218218
_resolveExecutablePath(): { executablePath: string; missingText: string | null; } {
219219
const browserFetcher = this._createBrowserFetcher();
220220
const revisionInfo = browserFetcher.revisionInfo();
221-
const missingText = !revisionInfo.local ? `WebKit revision is not downloaded. Run "npm install" or "yarn install"` : null;
221+
const missingText = !revisionInfo.local ? `WebKit revision is not downloaded. Run "npm install"` : null;
222222
return { executablePath: revisionInfo.executablePath, missingText };
223223
}
224224
}

0 commit comments

Comments
 (0)