From f6b7c1331628dfb45a916ec5cd1f04e5ed61bf01 Mon Sep 17 00:00:00 2001 From: yujiosaka Date: Wed, 10 Jan 2018 14:56:04 +0900 Subject: [PATCH] chore(install): mention yarn along npm in the error message (#1759) --- lib/Launcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Launcher.js b/lib/Launcher.js index 76311858..7afd8d72 100644 --- a/lib/Launcher.js +++ b/lib/Launcher.js @@ -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))