diff --git a/controller/update.go b/controller/update.go index b182277..7629a04 100644 --- a/controller/update.go +++ b/controller/update.go @@ -316,7 +316,7 @@ func runNPMInstall(rootDir string, folder string) error { } else { folderDir = filepath.Join(rootDir, folder) } - cmd := exec.Command("npm", "install") + cmd := exec.Command("npm", "install", "--production") cmd.Dir = folderDir cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr