Guest User

Untitled

a guest
Oct 21st, 2019
89
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. > companion@2.0.0 dist /home/user/companion
  2. > rm -rf electron-output && electron-builder
  3.  
  4. • electron-builder version=20.10.0
  5. • loaded configuration file=package.json ("build" field)
  6. • writing effective config file=electron-output/electron-builder-effective-config.yaml
  7. • rebuilding native production dependencies platform=linux arch=x64
  8. Error: /usr/bin/node exited with code 1
  9. Error output:
  10. ../src/HID.cc:71:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  11. throw(JSException);
  12. ^~~~~
  13. ../src/HID.cc:74:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  14. throw(JSException);
  15. ^~~~~
  16. ../src/HID.cc:156:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  17. throw(JSException)
  18. ^~~~~
  19. ../src/HID.cc:167:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  20. throw(JSException)
  21. ^~~~~
  22. /usr/bin/ld: cannot find -lusb-1.0
  23. collect2: error: ld returned 1 exit status
  24. make: *** [Release/obj.target/HID-hidraw.node] Error 1
  25. gyp ERR! build error
  26. gyp ERR! stack Error: `make` failed with exit code: 2
  27. gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:258:23)
  28. gyp ERR! stack at emitTwo (events.js:126:13)
  29. gyp ERR! stack at ChildProcess.emit (events.js:214:7)
  30. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
  31. gyp ERR! System Linux 4.15.0-20-generic
  32. gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild"
  33. gyp ERR! cwd /home/user/companion/node_modules/node-hid
  34. gyp ERR! node -v v8.10.0
  35. gyp ERR! node-gyp -v v3.6.2
  36. gyp ERR! not ok
  37.  
  38. npm ERR! Linux 4.15.0-20-generic
  39. npm ERR! argv "/usr/bin/node" "/usr/share/npm/bin/npm-cli.js" "rebuild" "node-hid@0.7.9" "websocket@1.0.28" "@julusian/jpeg-turbo@0.5.2" "@serialport/bindings@2.0.8"
  40. npm ERR! node v8.10.0
  41. npm ERR! npm v3.5.2
  42. npm ERR! code ELIFECYCLE
  43. npm ERR! node-hid@0.7.9 install: `prebuild-install || node-gyp rebuild`
  44. npm ERR! Exit status 1
  45. npm ERR!
  46. npm ERR! Failed at the node-hid@0.7.9 install script 'prebuild-install || node-gyp rebuild'.
  47. npm ERR! Make sure you have the latest version of node.js and npm installed.
  48. npm ERR! If you do, this is most likely a problem with the node-hid package,
  49. npm ERR! not with npm itself.
  50. npm ERR! Tell the author that this fails on your system:
  51. npm ERR! prebuild-install || node-gyp rebuild
  52. npm ERR! You can get information on how to open an issue for this project with:
  53. npm ERR! npm bugs node-hid
  54. npm ERR! Or if that isn't available, you can get their info via:
  55. npm ERR! npm owner ls node-hid
  56. npm ERR! There is likely additional logging output above.
  57.  
  58. npm ERR! Please include the following file with any support request:
  59. npm ERR! /home/user/companion/npm-debug.log
  60.  
  61. at ChildProcess.childProcess.once.code (/home/user/companion/node_modules/electron-builder-lib/node_modules/builder-util/src/util.ts:251:14)
  62. at Object.onceWrapper (events.js:317:30)
  63. at emitTwo (events.js:126:13)
  64. at ChildProcess.emit (events.js:214:7)
  65. at maybeClose (internal/child_process.js:925:16)
  66. at Socket.stream.socket.on (internal/child_process.js:346:11)
  67. at emitOne (events.js:116:13)
  68. at Socket.emit (events.js:211:7)
  69. at Pipe._handle.close [as _onclose] (net.js:567:12)
  70. From previous event:
  71. at rebuild (/home/user/companion/node_modules/electron-builder-lib/out/util/yarn.js:233:18)
  72. at /home/user/companion/node_modules/electron-builder-lib/src/util/yarn.ts:20:11
  73. at Generator.next (<anonymous>)
  74. at runCallback (timers.js:794:20)
  75. at tryOnImmediate (timers.js:752:5)
  76. at processImmediate [as _immediateCallback] (timers.js:729:5)
  77. From previous event:
  78. at installOrRebuild (/home/user/companion/node_modules/electron-builder-lib/out/util/yarn.js:68:17)
  79. at /home/user/companion/node_modules/electron-builder-lib/src/packager.ts:450:7
  80. at Generator.next (<anonymous>)
  81. From previous event:
  82. at Packager.installAppDependencies (/home/user/companion/node_modules/electron-builder-lib/out/packager.js:695:7)
  83. at /home/user/companion/node_modules/electron-builder-lib/src/packager.ts:364:20
  84. at Generator.next (<anonymous>)
  85. From previous event:
  86. at Packager.doBuild (/home/user/companion/node_modules/electron-builder-lib/out/packager.js:605:7)
  87. at /home/user/companion/node_modules/electron-builder-lib/src/packager.ts:316:52
  88. at Generator.next (<anonymous>)
  89. at /home/user/companion/node_modules/graceful-fs/graceful-fs.js:111:16
  90. at /home/user/companion/node_modules/graceful-fs/graceful-fs.js:45:10
  91. at FSReqWrap.oncomplete (fs.js:135:15)
  92. From previous event:
  93. at Packager._build (/home/user/companion/node_modules/electron-builder-lib/out/packager.js:532:7)
  94. at /home/user/companion/node_modules/electron-builder-lib/src/packager.ts:289:23
  95. at Generator.next (<anonymous>)
  96. at runCallback (timers.js:794:20)
  97. at tryOnImmediate (timers.js:752:5)
  98. at processImmediate [as _immediateCallback] (timers.js:729:5)
  99. From previous event:
  100. at Packager.build (/home/user/companion/node_modules/electron-builder-lib/out/packager.js:491:7)
  101. at /home/user/companion/node_modules/electron-builder-lib/src/index.ts:51:40
  102. at Generator.next (<anonymous>)
  103. From previous event:
  104. at build (/home/user/companion/node_modules/electron-builder-lib/out/index.js:220:17)
  105. at build (/home/user/companion/node_modules/electron-builder/src/builder.ts:229:10)
  106. at then (/home/user/companion/node_modules/electron-builder/src/cli/cli.ts:43:10)
  107. at runCallback (timers.js:794:20)
  108. at tryOnImmediate (timers.js:752:5)
  109. at processImmediate [as _immediateCallback] (timers.js:729:5)
  110. From previous event:
  111. at Object.args [as handler] (/home/user/companion/node_modules/electron-builder/src/cli/cli.ts:43:10)
  112. at Object.runCommand (/home/user/companion/node_modules/electron-builder/node_modules/yargs/lib/command.js:235:44)
  113. at Object.parseArgs [as _parseArgs] (/home/user/companion/node_modules/electron-builder/node_modules/yargs/yargs.js:1074:24)
  114. at Object.get [as argv] (/home/user/companion/node_modules/electron-builder/node_modules/yargs/yargs.js:989:21)
  115. at Object.<anonymous> (/home/user/companion/node_modules/electron-builder/src/cli/cli.ts:28:22)
  116. at Module._compile (module.js:652:30)
  117. at Object.Module._extensions..js (module.js:663:10)
  118. at Module.load (module.js:565:32)
  119. at tryModuleLoad (module.js:505:12)
  120. at Function.Module._load (module.js:497:3)
  121. at Function.Module.runMain (module.js:693:10)
  122. at startup (bootstrap_node.js:188:16)
  123. at bootstrap_node.js:609:3
  124.  
  125. npm ERR! Linux 4.15.0-20-generic
  126. npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "dist"
  127. npm ERR! node v8.10.0
  128. npm ERR! npm v3.5.2
  129. npm ERR! code ELIFECYCLE
  130. npm ERR! companion@2.0.0 dist: `rm -rf electron-output && electron-builder`
  131. npm ERR! Exit status 1
  132. npm ERR!
  133. npm ERR! Failed at the companion@2.0.0 dist script 'rm -rf electron-output && electron-builder'.
  134. npm ERR! Make sure you have the latest version of node.js and npm installed.
  135. npm ERR! If you do, this is most likely a problem with the companion package,
  136. npm ERR! not with npm itself.
  137. npm ERR! Tell the author that this fails on your system:
  138. npm ERR! rm -rf electron-output && electron-builder
  139. npm ERR! You can get information on how to open an issue for this project with:
  140. npm ERR! npm bugs companion
  141. npm ERR! Or if that isn't available, you can get their info via:
  142. npm ERR! npm owner ls companion
  143. npm ERR! There is likely additional logging output above.
  144.  
  145. npm ERR! Please include the following file with any support request:
  146. npm ERR! /home/user/companion/npm-debug.log
RAW Paste Data