chore(install): mention yarn along npm in the error message (#1759)

This commit is contained in:
yujiosaka 2018-01-10 14:56:04 +09:00 committed by Andrey Lushnikov
parent c29822d663
commit f6b7c13316

View File

@ -92,7 +92,7 @@ class Launcher {
if (typeof chromeExecutable !== 'string') {
const downloader = Downloader.createDefault();
const revisionInfo = downloader.revisionInfo(downloader.currentPlatform(), ChromiumRevision);
console.assert(revisionInfo.downloaded, `Chromium revision is not downloaded. Run "npm install"`);
console.assert(revisionInfo.downloaded, `Chromium revision is not downloaded. Run "yarn install" or "npm install"`);
chromeExecutable = revisionInfo.executablePath;
}
if (Array.isArray(options.args))