From dc9f9ebcc98ae1a692b2d50503e991664db9da63 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Wed, 18 Nov 2015 15:31:48 -0400 Subject: [PATCH] Document the need of npm install --force This is needed to avoid optional dependencies not being installed. Fixes: https://github.com/resin-io/herostratus/issues/22 --- PUBLISHING.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/PUBLISHING.md b/PUBLISHING.md index f78a5f41..fc9d8973 100644 --- a/PUBLISHING.md +++ b/PUBLISHING.md @@ -8,6 +8,12 @@ Packaging You need to install [wine](https://www.winehq.org) to package the application for Windows. +Make sure you install npm dependencies with `--force` since there might be optional dependencies for an operating system not equal to the host that will not make it to the package otherwise: + +```sh +npm install --force +``` + Run the following command to package Herostratus: ```sh