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...");