From 7fb30cee2cf7dc1cd8c79ee694c9302ab59e587f Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Wed, 19 Dec 2018 16:57:57 +0100 Subject: [PATCH] npm: Prevent sporadic build issues Might be caused by parallel jobs? ``` > @abandonware/bluetooth-hci-socket@0.5.3-0 install /local/home/philippe/var/cache/url/git/ssh/github.com/tizenteam/node-bluetooth-hci-socket/src/node-bluetooth-hci-socket > node-pre-gyp install --fallback-to-build (...) Release/obj.target/binding/src/BluetoothHciSocket.o: file not recognized: File truncated collect2: error: ld returned 1 exit status (...) ``` Or ``` rm: cannot remove './Release/.deps/Release/obj.target/binding/src/BluetoothHciSocket.o.d.raw': No such file or directory (...) make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Error 1 ``` Origin: https://github.com/abandonware/node-bluetooth-hci-socket/pull/4 Relate-to: https://github.com/noble/node-bluetooth-hci-socket/pull/91 Change-Id: I34726c8adffc7c39f585f42da1f7d776c5761a17 Signed-off-by: Philippe Coval --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 40fd7d7..f3c335f 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "dependencies": { "debug": "^2.2.0", "nan": "^2.10.0", - "node-pre-gyp": "0.6.x" + "node-pre-gyp": "^0.12.0" }, "optionalDependencies": { "usb": "^1.1.0"