Skip to content

Commit a2efdb3

Browse files
Merge pull request #194 from ElectronNET/bug/fix-devDependencies-while-building
npm install without prod flag
2 parents 117fd6e + 1ae9406 commit a2efdb3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# not release
22

3+
ElectronNET.CLI:
4+
5+
* Invoke 'npm install' without --prod flag to install needed devDependencies as well.
6+
37
# 0.0.10
48

59
ElectronNET.API:

ElectronNET.CLI/Commands/BuildCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public Task<bool> ExecuteAsync()
9191
Console.WriteLine("node_modules missing in: " + checkForNodeModulesDirPath);
9292

9393
Console.WriteLine("Start npm install...");
94-
ProcessHelper.CmdExecute("npm install --production", tempPath);
94+
ProcessHelper.CmdExecute("npm install", tempPath);
9595

9696
Console.WriteLine("Start npm install electron-packager...");
9797

0 commit comments

Comments
 (0)