From 06a1372e8084a3d6308c3e0b8787eeedbbe91036 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Thu, 23 May 2019 08:57:11 +1000 Subject: [PATCH] fix: use snap command for linux --- cmd/prerequisites.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/prerequisites.go b/cmd/prerequisites.go index cdd41cdf..0f6bbe66 100644 --- a/cmd/prerequisites.go +++ b/cmd/prerequisites.go @@ -52,7 +52,7 @@ func getRequiredProgramsLinux() *Prerequisites { case Ubuntu: result.Add(newPrerequisite("gcc", "Please install with `sudo apt install build-essentials` and try again")) result.Add(newPrerequisite("pkg-config", "Please install with `sudo apt install pkg-config` and try again")) - result.Add(newPrerequisite("npm", "Please install with `sudo apt install npm` and try again")) + result.Add(newPrerequisite("npm", "Please install with `sudo snap install node --channel=12/stable --classic` and try again")) default: result.Add(newPrerequisite("gcc", "Please install with your system package manager and try again"))