Wire version 2.11.2685 being installed at a Whonix 13.0.0.1.4 Virtual Machine (based on Debian
Jessie 8.7)
Running user@host:~/wire-desktop$ sudo npm install succeeds
user@host:~/wire-desktop$ sudo npm install
[sudo] password for user: ******************************************************
npm WARN cannot run in wd wire-desktop@ cd electron && npm install (wd=/home/user/wire-desktop)
> [email protected] install /home/user/wire-desktop/node_modules/electron-rebuild/node_modules/nslog
> node-gyp rebuild
/bin/sh: 1: node: not found
gyp: Call to 'node -e "require('nan')"' returned exit status 127. while trying to load binding.gyp
gyp ERR! configure error
Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:344:16)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12)
gyp ERR! System Linux 3.16.0-4-686-pae
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/user/wire-desktop/node_modules/electron-rebuild/node_modules/nslog
gyp ERR! node -v v0.10.29
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/home/user/wire-desktop/node_modules/electron-rebuild/node_modules/lodash/array'
npm ERR! error rolling back [email protected] { [Error: ENOTEMPTY, rmdir '/home/user/wire-desktop/node_modules/electron-rebuild/node_modules/lodash/array']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: '/home/user/wire-desktop/node_modules/electron-rebuild/node_modules/lodash/array' }
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the nslog package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls nslog
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.16.0-4-686-pae
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/user/wire-desktop
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR! Error: ENOENT, lstat '/home/user/wire-desktop/node_modules/electron-rebuild/node_modules/promise/node_modules/asap/raw.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 3.16.0-4-686-pae
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/user/wire-desktop
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! path /home/user/wire-desktop/node_modules/electron-rebuild/node_modules/promise/node_modules/asap/raw.js
npm ERR! fstream_path /home/user/wire-desktop/node_modules/electron-rebuild/node_modules/promise/node_modules/asap/raw.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/home/user/wire-desktop/node_modules/electron-rebuild/node_modules/npm/lib/fetch-package-metadata.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 3.16.0-4-686-pae
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/user/wire-desktop
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! path /home/user/wire-desktop/node_modules/electron-rebuild/node_modules/npm/lib/fetch-package-metadata.js
npm ERR! fstream_path /home/user/wire-desktop/node_modules/electron-rebuild/node_modules/npm/lib/fetch-package-metadata.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm WARN engine [email protected]: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine [email protected]: wanted: {"node":">= 4"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine [email protected]: wanted: {"node":">= 0.12"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine [email protected]: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine [email protected]: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine [email protected]: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine [email protected]: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
\
> [email protected] postinstall /home/user/wire-desktop/node_modules/electron
> node install.js
sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please readis
/usr/share/doc/nodejs/README.Debian
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/user/wire-desktop/npm-debug.log
npm ERR! not ok code 0
cd wire*;sudo npm install;
sudo apt-get install nodejs
sudo apt-get install npmcd wire*;sudo npm install;Both methods yield the same result. A snapshot of the virtual machine was used to rest the conditions for installation between the two attempts.
I've attached a -very extensive- debug log that resulted from this operation to this post.
npm-debug.zip
Can you update nodejs from here and try again? Nevermind, I think you said you did that.
The only other thing I can think of is Python. Do you have Python2 installed? Gyp needs it.
The odd thing is that the error is the verbose log seems to be related to a chown command, but I imagine chown is included on all distros by default.
Please excuse my inexperience, but I don't know what command to perform in order to adequately check if Phyton2 is installed. I did a quick search on the topic and came up with the solution of using the whereis command in order to do the job. This was its result, I hope its useful:
user@host:~$ whereis python
python: /usr/bin/python3.4m /usr/bin/python2.7 /usr/bin/python3.4 /usr/bin/python /usr/lib/python2.7 /usr/lib/python2.6 /usr/lib/python3.4 /etc/python2.7 /etc/python3.4 /etc/python /usr/local/lib/python2.7 /usr/local/lib/python3.4 /usr/include/python2.7 /usr/share/python /usr/share/man/man1/python.1.gz
That looks right. I'm at a bit of a loss. Maybe one of the devs will have a better idea. I'll take a look this afternoon if I remember.
It looks like your Node version is 0.10.29, so please update it to 7.4.0 from https://nodejs.org and try again..
Also do not use sudo in the last step.
@ConorIA thanks for your insistence in giving me a hand!
@lipis I followed your advice and got the following result. also, I've attached the link to the resulting npm-debug.log by the end of the post.
user@host:~/wire-desktop$ node -v
v7.4.0
user@host:~/wire-desktop$ npm -v
4.1.1
user@host:~/wire-desktop$ npm install
> wire-desktop@ preinstall /home/user/wire-desktop
> cd electron && npm install
npm WARN deprecated [email protected]: use uuid module instead
npm WARN deprecated [email protected]: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated [email protected]: the module is now available as 'css-select'
npm WARN deprecated [email protected]: the module is now available as 'css-what'
npm WARN checkPermissions Missing write access to /home/user/wire-desktop/electron
[email protected] /home/user/wire-desktop/electron
โโโฌ [email protected]
โ โโโ [email protected]
โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โโโ [email protected]
โ โโโ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโ [email protected]
โ โโโฌ [email protected]
โ โ โโโฌ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโฌ [email protected]
โ โ โ โ โโโ [email protected]
โ โ โ โโโฌ [email protected]
โ โ โ โโโฌ [email protected]
โ โ โ โ โโโ [email protected]
โ โ โ โโโฌ [email protected]
โ โ โ โ โโโ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโฌ [email protected]
โ โ โ โ โโโ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โโโฌ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โ โโโ [email protected]
โ โ โ โโโ [email protected]
โ โ โ โโโ [email protected]
โ โ โ โโโ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โ โโโ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโ [email protected]
โ โโโฌ [email protected]
โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โโโ [email protected]
โ โโโฌ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โโโ [email protected]
โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โโโ [email protected]
โ โโโฌ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โ โโโฌ [email protected]
โ โ โ โ โโโฌ [email protected]
โ โ โ โ โโโ [email protected]
โ โ โ โโโ [email protected]
โ โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โโโฌ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโฌ [email protected]
โ โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โโโ [email protected]
โโโ [email protected]
โโโ [email protected] (git+https://github.com/wireapp/node-addressbook.git#7975abcd52ea97ccc511c80f7872b854f51510b8)
โโโฌ [email protected]
โ โโโฌ [email protected]
โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โโโ [email protected]
โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโ [email protected]
โ โโโ [email protected]
โ โโโ [email protected]
โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โโโ [email protected]
โ โโโ [email protected]
โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โโโฌ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โ โโโ [email protected]
โ โ โ โโโฌ [email protected]
โ โ โ โ โโโ [email protected]
โ โ โ โโโ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โ โโโฌ [email protected]
โ โ โ โ โโโ [email protected]
โ โ โ โโโ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โ โโโ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โโโ [email protected]
โ โโโ [email protected]
โ โโโ [email protected]
โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โโโ [email protected]
โ โโโ [email protected]
โ โโโ [email protected]
โ โโโ [email protected]
โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโ [email protected]
โโโฌ [email protected] (git+https://github.com/wireapp/winston.git#6526c40fdf9ef4108091aac298ea954bb26493ae)
โโโ [email protected]
โโโ [email protected]
โโโ [email protected]
โโโ [email protected]
โโโ [email protected]
npm ERR! Linux 3.16.0-4-686-pae
npm ERR! argv "/home/user/local/bin/node" "/home/user/local/bin/npm" "install"
npm ERR! node v7.4.0
npm ERR! npm v4.1.1
npm ERR! path /home/user/wire-desktop/electron
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/home/user/wire-desktop/electron'
npm ERR! { Error: EACCES: permission denied, access '/home/user/wire-desktop/electron'
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/home/user/wire-desktop/electron' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Linux 3.16.0-4-686-pae
npm ERR! argv "/home/user/local/bin/node" "/home/user/local/bin/npm" "install"
npm ERR! node v7.4.0
npm ERR! npm v4.1.1
npm ERR! path npm-debug.log.381849901
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall open
npm ERR! Error: EACCES: permission denied, open 'npm-debug.log.381849901'
npm ERR! { Error: EACCES: permission denied, open 'npm-debug.log.381849901'
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'open',
npm ERR! path: 'npm-debug.log.381849901' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! /home/user/wire-desktop/electron/npm-debug.log
[email protected] node_modules/electron-rebuild/node_modules/yargs/node_modules/cliui/node_modules/strip-ansi/node_modules/ansi-regex -> node_modules/ansi-regex
[email protected] node_modules/electron-rebuild/node_modules/promise/node_modules/asap -> node_modules/asap
[email protected] node_modules/electron-rebuild/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match -> node_modules/balanced-match
[email protected] node_modules/electron-rebuild/node_modules/yargs/node_modules/camelcase -> node_modules/camelcase
[email protected] node_modules/electron-rebuild/node_modules/yargs/node_modules/string-width/node_modules/code-point-at -> node_modules/code-point-at
[email protected] node_modules/electron-rebuild/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map -> node_modules/concat-map
[email protected] node_modules/electron-rebuild/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion -> node_modules/brace-expansion
[email protected] node_modules/electron-rebuild/node_modules/babel-runtime/node_modules/core-js -> node_modules/core-js
[email protected] node_modules/electron-rebuild/node_modules/yargs/node_modules/decamelize -> node_modules/decamelize
- [email protected] node_modules/electron-rebuild/node_modules/yargs/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex
- [email protected] node_modules/electron-rebuild/node_modules/yargs/node_modules/string-width/node_modules/strip-ansi
[email protected] node_modules/electron-rebuild/node_modules/yargs/node_modules/os-locale/node_modules/lcid/node_modules/invert-kv -> node_modules/invert-kv
[email protected] node_modules/electron-rebuild/node_modules/yargs/node_modules/os-locale/node_modules/lcid -> node_modules/lcid
[email protected] node_modules/electron-rebuild/node_modules/rimraf/node_modules/glob/node_modules/minimatch -> node_modules/minimatch
[email protected] node_modules/electron-rebuild/node_modules/yargs/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan -> node_modules/number-is-nan
[email protected] node_modules/electron-rebuild/node_modules/yargs/node_modules/string-width/node_modules/is-fullwidth-code-point -> node_modules/is-fullwidth-code-point
[email protected] node_modules/electron-rebuild/node_modules/yargs/node_modules/os-locale -> node_modules/os-locale
[email protected] node_modules/electron-rebuild/node_modules/yargs/node_modules/cliui/node_modules/strip-ansi -> node_modules/strip-ansi
[email protected] node_modules/electron-rebuild/node_modules/yargs/node_modules/string-width -> node_modules/string-width
[email protected] node_modules/electron-rebuild/node_modules/yargs/node_modules/window-size -> node_modules/window-size
[email protected] node_modules/electron-rebuild/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi -> node_modules/wrap-ansi
[email protected] node_modules/electron-rebuild/node_modules/yargs/node_modules/cliui -> node_modules/cliui
[email protected] node_modules/electron-rebuild/node_modules/glob/node_modules/inflight/node_modules/wrappy -> node_modules/wrappy
[email protected] node_modules/electron-rebuild/node_modules/yargs/node_modules/y18n -> node_modules/y18n
- babel-runtime node_modules/electron-rebuild/node_modules/babel-runtime
- inflight node_modules/electron-rebuild/node_modules/glob/node_modules/inflight
- once node_modules/electron-rebuild/node_modules/glob/node_modules/once
- [email protected] node_modules/electron-rebuild/node_modules/glob/node_modules/once/node_modules/wrappy
- promise node_modules/electron-rebuild/node_modules/promise
- rimraf node_modules/electron-rebuild/node_modules/rimraf
- glob node_modules/electron-rebuild/node_modules/rimraf/node_modules/glob
- yargs node_modules/electron-rebuild/node_modules/yargs
wire-desktop@ /home/user/wire-desktop
โโโ (empty)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-mac@^1.0.1 (node_modules/electron-builder/node_modules/7zip-bin/node_modules/7zip-bin-mac):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"ia32"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-win@^2.0.2 (node_modules/electron-builder/node_modules/7zip-bin/node_modules/7zip-bin-win):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"win32","arch":"any"} (current: {"os":"linux","arch":"ia32"})
npm ERR! Linux 3.16.0-4-686-pae
npm ERR! argv "/home/user/local/bin/node" "/home/user/local/bin/npm" "install"
npm ERR! node v7.4.0
npm ERR! npm v4.1.1
npm ERR! code ELIFECYCLE
npm ERR! wire-desktop@ preinstall: `cd electron && npm install`
npm ERR! Exit status 243
npm ERR!
npm ERR! Failed at the wire-desktop@ preinstall script 'cd electron && npm install'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the wire-desktop package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cd electron && npm install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs wire-desktop
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls wire-desktop
npm ERR! There is likely additional logging output above.
npm ERR! Linux 3.16.0-4-686-pae
npm ERR! argv "/home/user/local/bin/node" "/home/user/local/bin/npm" "install"
npm ERR! node v7.4.0
npm ERR! npm v4.1.1
npm ERR! path npm-debug.log.166779853
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall open
npm ERR! Error: EACCES: permission denied, open 'npm-debug.log.166779853'
npm ERR! { Error: EACCES: permission denied, open 'npm-debug.log.166779853'
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'open',
npm ERR! path: 'npm-debug.log.166779853' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! /home/user/wire-desktop/npm-debug.log
Resulting debug log: https://gist.github.com/hThoreau/c7a5a021084998c8ff76b08be61ee97d
It looks like the sudo command may have produced some of the files with root as the owner. Try sudo chown -R user /home/user/wire-desktop then try npm install again without root.
You should probably include the group in the chown command, but I'm not sure what your group is. You can probably find out by ls -l in your home directory. The you'd use user:group in the chown command.
As @ConorIA mentioned already you have issues with the user rights from your previous attempts. If you haven't changed anything another way is it clean everything either with git clean -fdx or get a fresh clone to try again. You are almost there.
@ConorIA I've followed your advice on
Try
sudo chown -R user /home/user/wire-desktopthen trynpm installagain without root.
and executed it before I saw your second post,
You should probably include the group in the chown command, but I'm not sure what your group is.
The npm install command then executed without errors, only some warnings. After it was completed, I've attempted to do the next step of the installation as suggested by the _README.md_ file, npm start. This command then failed, and after that I've executed the command ls -l in my home directory for your reference:
user@host:~/wire-desktop$ npm start
> wire-desktop@ start /home/user/wire-desktop
> electron electron --debug=5858 --devtools --enable-logging
/home/user/wire-desktop/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
npm ERR! Linux 3.16.0-4-686-pae
npm ERR! argv "/home/user/local/bin/node" "/home/user/local/bin/npm" "start"
npm ERR! node v7.4.0
npm ERR! npm v4.1.1
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! wire-desktop@ start: `electron electron --debug=5858 --devtools --enable-logging`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the wire-desktop@ start script 'electron electron --debug=5858 --devtools --enable-logging'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the wire-desktop package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! electron electron --debug=5858 --devtools --enable-logging
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs wire-desktop
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls wire-desktop
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/user/wire-desktop/npm-debug.log
user@host:~/wire-desktop$ ~
bash: /home/user: Is a directory
user@host:~/wire-desktop$ cd ~
user@host:~$ ls -l
total 28
drwxr-xr-x 2 user user 4096 Jan 22 18:58 Desktop
drwxr-xr-x 2 user user 4096 Dec 21 02:50 Downloads
drwxr-xr-x 7 user user 4096 Jan 22 16:59 local
drwxr-xr-x 10 user user 4096 Jan 22 17:01 node-latest-install
drwxr-xr-x 2 user user 4096 Dec 21 02:50 Pictures
drwxr-xr-x 2 user user 4096 Jan 22 19:11 shared
drwxr-xr-x 8 user root 4096 Jan 22 19:41 wire-desktop
sudo apt-get install libappindicator1 libasound2 libgconf-2-4 libnotify-bin libnss3 libxss1
@hThoreau did you have any luck with this one?
I'll close this one for now. @hThoreau feel free to re-open if you still have issues.