Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ electron-builder install-app-deps && yarn run rebuild-node-pty && yarn --cwd node_modules/xterm
- • electron-builder version=20.5.1
- • loaded configuration file=package.json ("build" field)
- • installing production dependencies platform=linux arch=x64 appDir=/tmp/trizen-arch/hyper/src/hyper-2.0.0/app
- Error: /usr/bin/node exited with code 1
- Error output:
- error /tmp/trizen-arch/hyper/src/hyper-2.0.0/app/node_modules/node-pty: Command failed.
- Exit code: 1
- Command: node scripts/install.js
- Arguments:
- Directory: /tmp/trizen-arch/hyper/src/hyper-2.0.0/app/node_modules/node-pty
- Output:
- /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
- sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
- gyp info it worked if it ends with ok
- gyp info using node-gyp@3.8.0
- gyp info using node@10.10.0 | linux | x64
- gyp http GET https://atom.io/download/electron/v1.8.4/iojs-v1.8.4.tar.gz
- gyp http 200 https://atom.io/download/electron/v1.8.4/iojs-v1.8.4.tar.gz
- gyp http GET https://atom.io/download/electron/v1.8.4/SHASUMS256.txt
- gyp http 200 https://atom.io/download/electron/v1.8.4/SHASUMS256.txt
- gyp info spawn /usr/bin/python2
- gyp info spawn args [ '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
- gyp info spawn args 'binding.gyp',
- gyp info spawn args '-f',
- gyp info spawn args 'make',
- gyp info spawn args '-I',
- gyp info spawn args '/tmp/trizen-arch/hyper/src/hyper-2.0.0/app/node_modules/node-pty/build/config.gypi',
- gyp info spawn args '-I',
- gyp info spawn args '/usr/lib/node_modules/node-gyp/addon.gypi',
- gyp info spawn args '-I',
- gyp info spawn args '/home/arch/.electron-gyp/iojs-1.8.4/common.gypi',
- gyp info spawn args '-Dlibrary=shared_library',
- gyp info spawn args '-Dvisibility=default',
- gyp info spawn args '-Dnode_root_dir=/home/arch/.electron-gyp/iojs-1.8.4',
- gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
- gyp info spawn args '-Dnode_lib_file=/home/arch/.electron-gyp/iojs-1.8.4/<(target_arch)/iojs.lib',
- gyp info spawn args '-Dmodule_root_dir=/tmp/trizen-arch/hyper/src/hyper-2.0.0/app/node_modules/node-pty',
- gyp info spawn args '-Dnode_engine=v8',
- gyp info spawn args '--depth=.',
- gyp info spawn args '--no-parallel',
- gyp info spawn args '--generator-output',
- gyp info spawn args 'build',
- gyp info spawn args '-Goutput_dir=.' ]
- /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
- gyp: Call to 'node -e "require('nan')"' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
- gyp ERR! configure error
- gyp ERR! stack Error: `gyp` failed with exit code: 1
- gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/node-gyp/lib/configure.js:345:16)
- gyp ERR! stack at ChildProcess.emit (events.js:182:13)
- gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
- gyp ERR! System Linux 4.14.70-1-lts
- gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild"
- gyp ERR! cwd /tmp/trizen-arch/hyper/src/hyper-2.0.0/app/node_modules/node-pty
- gyp ERR! node -v v10.10.0
- gyp ERR! node-gyp -v v3.8.0
- gyp ERR! not ok
- at ChildProcess.childProcess.once.code (/tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/builder-util/src/util.ts:252:14)
- at Object.onceWrapper (events.js:273:13)
- at ChildProcess.emit (events.js:182:13)
- at maybeClose (internal/child_process.js:962:16)
- at Socket.stream.socket.on (internal/child_process.js:381:11)
- at Socket.emit (events.js:182:13)
- at Pipe._handle.close (net.js:606:12)
- From previous event:
- at installOrRebuild (/tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/electron-builder-lib/out/util/yarn.js:31:21)
- at /tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/electron-builder/src/cli/install-app-deps.ts:58:42
- at Generator.next (<anonymous>)
- From previous event:
- at installAppDeps (/tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/electron-builder/out/cli/install-app-deps.js:51:21)
- at then (/tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/electron-builder/src/cli/cli.ts:48:33)
- at runCallback (timers.js:694:18)
- at tryOnImmediate (timers.js:665:5)
- at processImmediate (timers.js:647:5)
- From previous event:
- at Object.args [as handler] (/tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/electron-builder/src/cli/cli.ts:48:33)
- at Object.runCommand (/tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/yargs/lib/command.js:235:44)
- at Object.parseArgs [as _parseArgs] (/tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/yargs/yargs.js:1014:30)
- at Object.get [as argv] (/tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/yargs/yargs.js:957:21)
- at Object.<anonymous> (/tmp/trizen-arch/hyper/src/hyper-2.0.0/node_modules/electron-builder/src/cli/cli.ts:42:15)
- at Module._compile (internal/modules/cjs/loader.js:689:30)
- at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
- at Module.load (internal/modules/cjs/loader.js:599:32)
- at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
- at Function.Module._load (internal/modules/cjs/loader.js:530:3)
- at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
- at startup (internal/bootstrap/node.js:279:19)
- at bootstrapNodeJSCore (internal/bootstrap/node.js:696:3)
- error Command failed with exit code 1.
- info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
- ==> ERROR: A failure occurred in prepare().
- Aborting...
- :: Unable to build hyper - makepkg exited with code: 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement