I'm trying again today with a fresh git clone and have different errors. It did build the browser, which runs, but doesn't seem to have the authenticator (visiting: safe-auth://home/ doesn't do anything).
Here are the build errors I'm seeing:
$ npm run package
> @ package /home/mrh/src/safe-mock/safe_browser
> node ./scripts/main.js --package
Skip app dependencies rebuild because npmRebuild is set to false
Packaging for platform linux x64 using electron 1.4.1 to dist/linux-unpacked
Error: stderr maxBuffer exceeded
GNU xorriso 1.4.4 : RockRidge filesystem manipulator, libburnia project.
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
Drive current: -dev '/home/mrh/src/safe-mock/safe_browser/dist/safe-browser-0.2.2-x86_64.AppImage'
Media current: stdio file, overwriteable
Media status : is blank
[snip - and later...]
xorriso : UPDATE : 14521 file filters processed in 82 seconds
xorriso : UPDATE : 14533 file filters processed in 82 seconds
libisofs: WARNING : File "/usr/bin/resources/app/node_modules/accessibility-developer-tools/lib/closure-library/closure/bin/labs/code/generate_jsdoc_test.py" can't be added to Joliet tree, because its path length is larger than 240
libisofs: WARNING : File "/usr/bin/resources/app/node_modules/accessibility-developer-tools/lib/closure-library/closure/goog/a11y/aria/announcer_test.html" can't be added to Joliet tree, because its path length is larger than 240
libisofs: WARNING : File "/usr/bin/resources/app/node_modules/accessibility-developer-tools/lib/closure-library/closure/goog/async/animationdelay_test.html" can't be added to Joliet tree, because its path length is larger than 240
libisofs: WARNING : File "/usr/bin/resources/app/node_modules/accessibility-developer-tools/lib/closure-library/closure/goog/async/animationdelay_test.js" can't be added to Joliet tree, because its path length is larger than 240
libisofs: WARNING : File "/usr/bin/resources/app/node_modules/accessibility-developer-tools/lib/closure-library/closure/goog/async/conditionaldelay_test.html" can't be added to Joliet tree, because its path length is larger than 240
[lots more like the above]
[snip - and to finish off...]
From previous event:
at tsAwaiter (/home/mrh/src/safe-mock/safe_browser/node_modules/electron-builder/src/util/awaiter.ts:10:47)
at Object.build (/home/mrh/src/safe-mock/safe_browser/node_modules/electron-builder/out/builder.js:135:12)
at Object.<anonymous> (/home/mrh/src/safe-mock/safe_browser/node_modules/electron-builder/out/build-cli.js:23:11)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:389:7)
at startup (bootstrap_node.js:149:9)
Release Safe Browser exited with code 255
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "run" "package"
npm ERR! node v6.11.0
npm ERR! npm v4.0.3
npm ERR! code ELIFECYCLE
npm ERR! @ package: `node ./scripts/main.js --package`
npm ERR! Exit status 255
npm ERR! Failed at the @ package script 'node ./scripts/main.js --package'.
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 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./scripts/main.js --package
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/mrh/src/safe-mock/safe_browser/npm-debug.log
Any clues? Or can you post a binary for use with mock? Thanks.