From d2d4f75897fdb13bcae20409ceef490ea225086e Mon Sep 17 00:00:00 2001 From: Masaki Muranaka Date: Mon, 24 Jun 2019 16:21:14 +0900 Subject: [PATCH] Call `node-gyp install` before rebuilds. Signed-off-by: Masaki Muranaka --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 4c738fe36976e..2cf817209aa2d 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,7 @@ "prepare": "node scripts/skip-prepare || ( yarn prepare:travis && yarn rebuild:clean && yarn build:clean && yarn prepare:hoisting )", "prepare:travis": "node scripts/prepare-travis", "prepare:hoisting": "theia check:hoisted -s", + "preinstall": "node-gyp install", "build": "run build", "build:clean": "run prepare", "docs": "rimraf gh-pages/docs/next && typedoc --tsconfig configs/typedoc-tsconfig.json --options configs/typedoc.json",