From 1ae940613c9fdd6aed6c281deceefa53f84c2bea Mon Sep 17 00:00:00 2001 From: Robert Muehsig Date: Fri, 28 Dec 2018 22:25:14 +0100 Subject: [PATCH] Fix --- Changelog.md | 4 ++++ ElectronNET.CLI/Commands/BuildCommand.cs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index 23a4cb64..29b61c86 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,9 @@ # not release +ElectronNET.CLI: + +* Invoke 'npm install' without --prod flag to install needed devDependencies as well. + # 0.0.10 ElectronNET.API: diff --git a/ElectronNET.CLI/Commands/BuildCommand.cs b/ElectronNET.CLI/Commands/BuildCommand.cs index f44bc5e5..55d71c1b 100644 --- a/ElectronNET.CLI/Commands/BuildCommand.cs +++ b/ElectronNET.CLI/Commands/BuildCommand.cs @@ -91,7 +91,7 @@ public Task ExecuteAsync() Console.WriteLine("node_modules missing in: " + checkForNodeModulesDirPath); Console.WriteLine("Start npm install..."); - ProcessHelper.CmdExecute("npm install --production", tempPath); + ProcessHelper.CmdExecute("npm install", tempPath); Console.WriteLine("Start npm install electron-packager...");