I’m trying to build the safe_browser 0.2.0.
I however got stuck at step 4.
[admin@UBS-Dev safe_browser-0.2.0]$ npm run pack-authenticator
...
npm
ERR! code ELIFECYCLE
npm
ERR!
errno 1
npm
ERR!
@ pack-authenticator:unix: `sh ./scripts/pack_authenticator.sh ""`
npm
ERR!
Exit status 1
npm
ERR!
npm
ERR!
Failed at the @ pack-authenticator:unix script.
npm
ERR!
This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!
/home/admin/.npm/_logs/2017-05-30T04_56_27_388Z-debug.log
Pack Authenticator exited with code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ pack-authenticator: `node ./scripts/main.js --authenticator`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ pack-authenticator script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/admin/.npm/_logs/2017-05-30T04_56_27_418Z-debug.log
[admin@UBS-Dev safe_browser-0.2.0]$ cat /home/admin/.npm/_logs/2017-05-30T04_56_27_418Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'pack-authenticator' ]
2 info using npm@4.6.1
3 info using node@v7.10.0
4 verbose run-script [ 'prepack-authenticator',
4 verbose run-script 'pack-authenticator',
4 verbose run-script 'postpack-authenticator' ]
5 info lifecycle @~prepack-authenticator: @
6 silly lifecycle @~prepack-authenticator: no script for prepack-authenticator, continuing
7 info lifecycle @~pack-authenticator: @
8 verbose lifecycle @~pack-authenticator: unsafe-perm in lifecycle true
9 verbose lifecycle @~pack-authenticator: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/admin/Downloads/safe_browser-0.2.0/node_modules/.bin:/usr/local/bin:/usr/bin:/bin
10 verbose lifecycle @~pack-authenticator: CWD: /home/admin/Downloads/safe_browser-0.2.0
11 silly lifecycle @~pack-authenticator: Args: [ '-c', 'node ./scripts/main.js --authenticator' ]
12 silly lifecycle @~pack-authenticator: Returned: code: 1 signal: null
13 info lifecycle @~pack-authenticator: Failed to exec pack-authenticator script
14 verbose stack Error: @ pack-authenticator: `node ./scripts/main.js --authenticator`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:279:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:194:7)
14 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:194:7)
14 verbose stack at maybeClose (internal/child_process.js:899:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid @
16 verbose cwd /home/admin/Downloads/safe_browser-0.2.0
17 verbose Linux 4.10.16-gnu-1
18 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "pack-authenticator"
19 verbose node v7.10.0
20 verbose npm v4.6.1
21 error code ELIFECYCLE
22 error errno 1
23 error @ pack-authenticator: `node ./scripts/main.js --authenticator`
23 error Exit status 1
24 error Failed at the @ pack-authenticator script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]