Advertisement
Guest User

Untitled

a guest
Jan 27th, 2020
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.66 KB | None | 0 0
  1. npm i
  2.  
  3. > @serialport/bindings@2.0.7 install /home/marco/sistema-gth-ang-6/node_modules/@serialport/bindings
  4. > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
  5.  
  6. prebuild-install WARN install No prebuilt binaries found (target=12.14.1 runtime=node arch=x64 platform=linux)
  7. make: Entering directory '/home/marco/sistema-gth-ang-6/node_modules/@serialport/bindings/build'
  8. CXX(target) Release/obj.target/bindings/src/serialport.o
  9. make: g++: Command not found
  10. bindings.target.mk:112: recipe for target 'Release/obj.target/bindings/src/serialport.o' failed
  11. make: *** [Release/obj.target/bindings/src/serialport.o] Error 127
  12. make: Leaving directory '/home/marco/sistema-gth-ang-6/node_modules/@serialport/bindings/build'
  13. gyp ERR! build error
  14. gyp ERR! stack Error: `make` failed with exit code: 2
  15. gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
  16. gyp ERR! stack at ChildProcess.emit (events.js:223:5)
  17. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
  18. gyp ERR! System Linux 4.15.0-20-generic
  19. gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  20. gyp ERR! cwd /home/marco/sistema-gth-ang-6/node_modules/@serialport/bindings
  21. gyp ERR! node -v v12.14.1
  22. gyp ERR! node-gyp -v v5.0.5
  23. gyp ERR! not ok
  24.  
  25. > usb@1.5.0 install /home/marco/sistema-gth-ang-6/node_modules/usb
  26. > node-pre-gyp install --fallback-to-build
  27.  
  28. node-pre-gyp WARN Using request for node-pre-gyp https download
  29. node-pre-gyp WARN Tried to download(404): https://github.com/tessel/node-usb/releases/download/1.5.0/usb_bindings-v1.5.0-node-v72-linux-x64.tar.gz
  30. node-pre-gyp WARN Pre-built binaries not found for usb@1.5.0 and node@12.14.1 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
  31. make: Entering directory '/home/marco/sistema-gth-ang-6/node_modules/usb/build'
  32. CC(target) Release/obj.target/libusb/libusb/libusb/core.o
  33. ../libusb/libusb/core.c:25:10: fatal error: errno.h: Arquivo ou diretório inexistente
  34. #include <errno.h>
  35. ^~~~~~~~~
  36. compilation terminated.
  37. libusb.target.mk:148: recipe for target 'Release/obj.target/libusb/libusb/libusb/core.o' failed
  38. make: *** [Release/obj.target/libusb/libusb/libusb/core.o] Error 1
  39. make: Leaving directory '/home/marco/sistema-gth-ang-6/node_modules/usb/build'
  40. gyp ERR! build error
  41. gyp ERR! stack Error: `make` failed with exit code: 2
  42. gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
  43. gyp ERR! stack at ChildProcess.emit (events.js:223:5)
  44. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
  45. gyp ERR! System Linux 4.15.0-20-generic
  46. gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/marco/sistema-gth-ang-6/node_modules/usb/src/binding/usb_bindings.node" "--module_name=usb_bindings" "--module_path=/home/marco/sistema-gth-ang-6/node_modules/usb/src/binding" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
  47. gyp ERR! cwd /home/marco/sistema-gth-ang-6/node_modules/usb
  48. gyp ERR! node -v v12.14.1
  49. gyp ERR! node-gyp -v v5.0.5
  50. gyp ERR! not ok
  51. node-pre-gyp ERR! build error
  52. node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/marco/sistema-gth-ang-6/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/home/marco/sistema-gth-ang-6/node_modules/usb/src/binding --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
  53. node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/marco/sistema-gth-ang-6/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
  54. node-pre-gyp ERR! stack at ChildProcess.emit (events.js:223:5)
  55. node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
  56. node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
  57. node-pre-gyp ERR! System Linux 4.15.0-20-generic
  58. node-pre-gyp ERR! command "/usr/bin/node" "/home/marco/sistema-gth-ang-6/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
  59. node-pre-gyp ERR! cwd /home/marco/sistema-gth-ang-6/node_modules/usb
  60. node-pre-gyp ERR! node -v v12.14.1
  61. node-pre-gyp ERR! node-pre-gyp -v v0.11.0
  62. node-pre-gyp ERR! not ok
  63. Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/marco/sistema-gth-ang-6/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/home/marco/sistema-gth-ang-6/node_modules/usb/src/binding --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
  64.  
  65. > sharp@0.21.3 install /home/marco/sistema-gth-ang-6/node_modules/sharp
  66. > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
  67.  
  68. info sharp Using cached /home/marco/.npm/_libvips/libvips-8.7.0-linux-x64.tar.gz
  69. prebuild-install WARN install No prebuilt binaries found (target=12.14.1 runtime=node arch=x64 platform=linux)
  70. make: Entering directory '/home/marco/sistema-gth-ang-6/node_modules/sharp/build'
  71. TOUCH Release/obj.target/libvips-cpp.stamp
  72. CXX(target) Release/obj.target/sharp/src/common.o
  73. make: g++: Command not found
  74. sharp.target.mk:136: recipe for target 'Release/obj.target/sharp/src/common.o' failed
  75. make: *** [Release/obj.target/sharp/src/common.o] Error 127
  76. make: Leaving directory '/home/marco/sistema-gth-ang-6/node_modules/sharp/build'
  77. gyp ERR! build error
  78. gyp ERR! stack Error: `make` failed with exit code: 2
  79. gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
  80. gyp ERR! stack at ChildProcess.emit (events.js:223:5)
  81. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
  82. gyp ERR! System Linux 4.15.0-20-generic
  83. gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  84. gyp ERR! cwd /home/marco/sistema-gth-ang-6/node_modules/sharp
  85. gyp ERR! node -v v12.14.1
  86. gyp ERR! node-gyp -v v5.0.5
  87. gyp ERR! not ok
  88. npm WARN sistema-gth@1.0.0 No repository field.
  89. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
  90. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
  91. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @serialport/bindings@2.0.7 (node_modules/@serialport/bindings):
  92. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @serialport/bindings@2.0.7 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
  93. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
  94. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.5.0 (node_modules/usb):
  95. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.5.0 install: `node-pre-gyp install --fallback-to-build`
  96. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
  97.  
  98. npm ERR! code ELIFECYCLE
  99. npm ERR! errno 1
  100. npm ERR! sharp@0.21.3 install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
  101. npm ERR! Exit status 1
  102. npm ERR!
  103. npm ERR! Failed at the sharp@0.21.3 install script.
  104. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  105.  
  106. npm ERR! A complete log of this run can be found in:
  107. npm ERR! /home/marco/.npm/_logs/2020-01-27T21_57_30_439Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement