SHARE
TWEET

ERROR: Hyper installation from AUR

a guest Sep 19th, 2018 204 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ electron-builder install-app-deps && yarn run rebuild-node-pty && yarn --cwd node_modules/xterm
  2.   • electron-builder version=20.5.1
  3.   • loaded configuration file=package.json ("build" field)
  4.   • installing production dependencies platform=linux arch=x64 appDir=/tmp/trizen-arch/hyper/src/hyper-2.0.0/app
  5. Error: /usr/bin/node exited with code 1
  6. Error output:
  7. error /tmp/trizen-arch/hyper/src/hyper-2.0.0/app/node_modules/node-pty: Command failed.
  8. Exit code: 1
  9. Command: node scripts/install.js
  10. Arguments:
  11. Directory: /tmp/trizen-arch/hyper/src/hyper-2.0.0/app/node_modules/node-pty
  12. Output:
  13. /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
  14. sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
  15. gyp info it worked if it ends with ok
  16. gyp info using node-gyp@3.8.0
  17. gyp info using node@10.10.0 | linux | x64
  18. gyp http GET https://atom.io/download/electron/v1.8.4/iojs-v1.8.4.tar.gz
  19. gyp http 200 https://atom.io/download/electron/v1.8.4/iojs-v1.8.4.tar.gz
  20. gyp http GET https://atom.io/download/electron/v1.8.4/SHASUMS256.txt
  21. gyp http 200 https://atom.io/download/electron/v1.8.4/SHASUMS256.txt
  22. gyp info spawn /usr/bin/python2
  23. gyp info spawn args [ '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
  24. gyp info spawn args   'binding.gyp',
  25. gyp info spawn args   '-f',
  26. gyp info spawn args   'make',
  27. gyp info spawn args   '-I',
  28. gyp info spawn args   '/tmp/trizen-arch/hyper/src/hyper-2.0.0/app/node_modules/node-pty/build/config.gypi',                                                                                  
  29. gyp info spawn args   '-I',
  30. gyp info spawn args   '/usr/lib/node_modules/node-gyp/addon.gypi',
  31. gyp info spawn args   '-I',
  32. gyp info spawn args   '/home/arch/.electron-gyp/iojs-1.8.4/common.gypi',
  33. gyp info spawn args   '-Dlibrary=shared_library',
  34. gyp info spawn args   '-Dvisibility=default',
  35. gyp info spawn args   '-Dnode_root_dir=/home/arch/.electron-gyp/iojs-1.8.4',
  36. gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
  37. gyp info spawn args   '-Dnode_lib_file=/home/arch/.electron-gyp/iojs-1.8.4/<(target_arch)/iojs.lib',                                                                                          
  38. gyp info spawn args   '-Dmodule_root_dir=/tmp/trizen-arch/hyper/src/hyper-2.0.0/app/node_modules/node-pty',                                                                                  
  39. gyp info spawn args   '-Dnode_engine=v8',
  40. gyp info spawn args   '--depth=.',
  41. gyp info spawn args   '--no-parallel',
  42. gyp info spawn args   '--generator-output',
  43. gyp info spawn args   'build',
  44. gyp info spawn args   '-Goutput_dir=.' ]
  45. /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
  46. gyp: Call to 'node -e "require('nan')"' returned exit status 0 while in binding.gyp. while trying to load binding.gyp                                                                        
  47. gyp ERR! configure error
  48. gyp ERR! stack Error: `gyp` failed with exit code: 1
  49. gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/node-gyp/lib/configure.js:345:16)                                                                                          
  50. gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
  51. gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
  52. gyp ERR! System Linux 4.14.70-1-lts
  53. gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild"
  54. gyp ERR! cwd /tmp/trizen-arch/hyper/src/hyper-2.0.0/app/node_modules/node-pty
  55. gyp ERR! node -v v10.10.0
  56. gyp ERR! node-gyp -v v3.8.0
  57. gyp ERR! not ok
  58.  
  59.     at ChildProcess.childProcess.once.code (/tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/builder-util/src/util.ts:252:14)                                                              
  60.     at Object.onceWrapper (events.js:273:13)
  61.     at ChildProcess.emit (events.js:182:13)
  62.     at maybeClose (internal/child_process.js:962:16)
  63.     at Socket.stream.socket.on (internal/child_process.js:381:11)
  64.     at Socket.emit (events.js:182:13)
  65.     at Pipe._handle.close (net.js:606:12)
  66. From previous event:
  67.     at installOrRebuild (/tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/electron-builder-lib/out/util/yarn.js:31:21)                                                                    
  68.     at /tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/electron-builder/src/cli/install-app-deps.ts:58:42                                                                                
  69.     at Generator.next (<anonymous>)
  70. From previous event:
  71.     at installAppDeps (/tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/electron-builder/out/cli/install-app-deps.js:51:21)                                                                
  72.     at then (/tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/electron-builder/src/cli/cli.ts:48:33)                                                                                      
  73.     at runCallback (timers.js:694:18)
  74.     at tryOnImmediate (timers.js:665:5)
  75.     at processImmediate (timers.js:647:5)
  76. From previous event:
  77.     at Object.args [as handler] (/tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/electron-builder/src/cli/cli.ts:48:33)                                                                  
  78.     at Object.runCommand (/tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/yargs/lib/command.js:235:44)                                                                                    
  79.     at Object.parseArgs [as _parseArgs] (/tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/yargs/yargs.js:1014:30)
  80.     at Object.get [as argv] (/tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/yargs/yargs.js:957:21)
  81.     at Object.<anonymous> (/tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/electron-builder/src/cli/cli.ts:42:15)
  82.     at Module._compile (internal/modules/cjs/loader.js:689:30)
  83.     at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
  84.     at Module.load (internal/modules/cjs/loader.js:599:32)
  85.     at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
  86.     at Function.Module._load (internal/modules/cjs/loader.js:530:3)
  87.     at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
  88.     at startup (internal/bootstrap/node.js:279:19)
  89.     at bootstrapNodeJSCore (internal/bootstrap/node.js:696:3)
  90. error Command failed with exit code 1.
  91. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
  92. ==> ERROR: A failure occurred in prepare().
  93.     Aborting...
  94. :: Unable to build hyper - makepkg exited with code: 4
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top