Skip to content

Instantly share code, notes, and snippets.

/errors.txt Secret

Created November 28, 2017 23:16
Show Gist options
  • Save anonymous/f5912d48e0171bc9a2be3cf227fc9b81 to your computer and use it in GitHub Desktop.
Save anonymous/f5912d48e0171bc9a2be3cf227fc9b81 to your computer and use it in GitHub Desktop.
yarn install v1.3.2
[1/5] Resolving packages...
success Already up-to-date.
$ electron-builder install-app-deps && rimraf node_modules/dtrace-provider
electron-builder 19.46.3
Rebuilding native production dependencies for linux:x64
Rebuilding native dependency spellchecker
Rebuilding native dependency websocket
Error: /usr/bin/node exited with code 1
Output:
yarn run v1.3.2
$ node-gyp rebuild
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error output:
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@9.2.0 | linux | x64
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/usr/lib/node_modules/npm/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 '/home/USERNAME/Signal-Desktop/node_modules/spellchecker/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/USERNAME/.electron-gyp/iojs-1.7.9/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/USERNAME/.electron-gyp/iojs-1.7.9',
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/USERNAME/.electron-gyp/iojs-1.7.9/<(target_arch)/iojs.lib',
gyp info spawn args '-Dmodule_root_dir=/home/USERNAME/Signal-Desktop/node_modules/spellchecker',
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 (C.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/npm/node_modules/node-gyp/lib/configure.js:336:16)
gyp ERR! stack at ChildProcess.emit (events.js:159:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Linux 4.13.12-1-ARCH
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/USERNAME/Signal-Desktop/node_modules/spellchecker
gyp ERR! node -v v9.2.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
error Command failed with exit code 1.
at ChildProcess.childProcess.once.code (/home/USERNAME/Signal-Desktop/node_modules/builder-util/src/util.ts:220:14)
at Object.onceWrapper (events.js:254:19)
at ChildProcess.emit (events.js:159:13)
at maybeClose (internal/child_process.js:943:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
From previous event:
at spawn (/home/USERNAME/Signal-Desktop/node_modules/builder-util/src/util.ts:183:3)
at default.map.concurrency (/home/USERNAME/Signal-Desktop/node_modules/electron-builder-lib/src/util/yarn.ts:151:7)
at runCallback (timers.js:800:20)
at tryOnImmediate (timers.js:762:5)
at processImmediate [as _immediateCallback] (timers.js:733:5)
From previous event:
at /home/USERNAME/Signal-Desktop/node_modules/electron-builder-lib/src/util/yarn.ts:149:27
From previous event:
at rebuild (/home/USERNAME/Signal-Desktop/node_modules/electron-builder-lib/out/util/yarn.js:93:22)
at /home/USERNAME/Signal-Desktop/node_modules/electron-builder-lib/src/util/yarn.ts:20:11
at Generator.next (<anonymous>)
at runCallback (timers.js:800:20)
at tryOnImmediate (timers.js:762:5)
at processImmediate [as _immediateCallback] (timers.js:733:5)
From previous event:
at installOrRebuild (/home/USERNAME/Signal-Desktop/node_modules/electron-builder-lib/out/util/yarn.js:31:21)
at /home/USERNAME/Signal-Desktop/node_modules/electron-builder/src/cli/install-app-deps.ts:58:42
at Generator.next (<anonymous>)
From previous event:
at installAppDeps (/home/USERNAME/Signal-Desktop/node_modules/electron-builder/out/cli/install-app-deps.js:51:21)
at then (/home/USERNAME/Signal-Desktop/node_modules/electron-builder/src/cli/cli.ts:49:4)
at runCallback (timers.js:800:20)
at tryOnImmediate (timers.js:762:5)
at processImmediate [as _immediateCallback] (timers.js:733:5)
From previous event:
at Object.args [as handler] (/home/USERNAME/Signal-Desktop/node_modules/electron-builder/src/cli/cli.ts:49:4)
at Object.runCommand (/home/USERNAME/Signal-Desktop/node_modules/electron-builder/node_modules/yargs/lib/command.js:228:22)
at Object.parseArgs [as _parseArgs] (/home/USERNAME/Signal-Desktop/node_modules/electron-builder/node_modules/yargs/yargs.js:1013:30)
at Object.get [as argv] (/home/USERNAME/Signal-Desktop/node_modules/electron-builder/node_modules/yargs/yargs.js:957:21)
at Object.<anonymous> (/home/USERNAME/Signal-Desktop/node_modules/electron-builder/src/cli/cli.ts:43:15)
at Module._compile (module.js:641:30)
at Object.Module._extensions..js (module.js:652:10)
at Module.load (module.js:560:32)
at tryModuleLoad (module.js:503:12)
at Function.Module._load (module.js:495:3)
at Function.Module.runMain (module.js:682:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:613:3
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment