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)
This commit is contained in:
parent
b8199c0813
commit
1489fbdbff
|
|
@ -248,7 +248,7 @@ export class Chromium implements BrowserType {
|
|||
_resolveExecutablePath(): { executablePath: string; missingText: string | null; } {
|
||||
const browserFetcher = this._createBrowserFetcher();
|
||||
const revisionInfo = browserFetcher.revisionInfo();
|
||||
const missingText = !revisionInfo.local ? `Chromium revision is not downloaded. Run "npm install" or "yarn install"` : null;
|
||||
const missingText = !revisionInfo.local ? `Chromium revision is not downloaded. Run "npm install"` : null;
|
||||
return { executablePath: revisionInfo.executablePath, missingText };
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -227,7 +227,7 @@ export class Firefox implements BrowserType {
|
|||
_resolveExecutablePath() {
|
||||
const browserFetcher = this._createBrowserFetcher();
|
||||
const revisionInfo = browserFetcher.revisionInfo();
|
||||
const missingText = !revisionInfo.local ? `Firefox revision is not downloaded. Run "npm install" or "yarn install"` : null;
|
||||
const missingText = !revisionInfo.local ? `Firefox revision is not downloaded. Run "npm install"` : null;
|
||||
return { executablePath: revisionInfo.executablePath, missingText };
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ export class WebKit implements BrowserType {
|
|||
_resolveExecutablePath(): { executablePath: string; missingText: string | null; } {
|
||||
const browserFetcher = this._createBrowserFetcher();
|
||||
const revisionInfo = browserFetcher.revisionInfo();
|
||||
const missingText = !revisionInfo.local ? `WebKit revision is not downloaded. Run "npm install" or "yarn install"` : null;
|
||||
const missingText = !revisionInfo.local ? `WebKit revision is not downloaded. Run "npm install"` : null;
|
||||
return { executablePath: revisionInfo.executablePath, missingText };
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue