@Ross With testnet3 / community1 testnets not working I tried to build safe_launcher with mock routing for testing but I’m getting errors.
I build safe_core and copied to safe_launcher as follows:
cd ~/src/safe-stable/mock
cd safe_core
cargo build --release --features use-mock-routing
cp target/release/libsafe_core.so ~/src/safe-stable/mock/safe_launcher/app/api/ffi
Then I get the following problems building safe_launcher
$ npm install
npm WARN package.json @ No repository field.
npm WARN package.json @ No license field.
npm WARN optional dep failed, continuing appdmg@0.3.10
> @ postinstall /home/mrh/src/safe-stable/mock/safe_launcher
> cd app && npm install && bower install
npm WARN package.json safe-launcher@0.4.4 No repository field.
npm WARN package.json safe-launcher@0.4.4 No README data
npm WARN package.json safe-launcher@0.4.4 No license field.
> safe-launcher@0.4.4 postinstall /home/mrh/src/safe-stable/mock/safe_launcher/app
> node ../tasks/rebuild_native
module.js:338
throw err;
^
Error: Cannot find module 'babel-runtime/regenerator'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:286:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/home/mrh/src/safe-stable/mock/safe_launcher/node_modules/electron-rebuild/lib/main.js:3:27)
at Module._compile (module.js:434:26)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.1.2
npm ERR! npm v2.14.4
npm ERR! code ELIFECYCLE
npm ERR! safe-launcher@0.4.4 postinstall: `node ../tasks/rebuild_native`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the safe-launcher@0.4.4 postinstall script 'node ../tasks/rebuild_native'.
npm ERR! This is most likely a problem with the safe-launcher package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ../tasks/rebuild_native
npm ERR! You can get their info via:
npm ERR! npm owner ls safe-launcher
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-stable/mock/safe_launcher/app/npm-debug.log
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.1.2
npm ERR! npm v2.14.4
npm ERR! code ELIFECYCLE
npm ERR! @ postinstall: `cd app && npm install && bower install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ postinstall script 'cd app && npm install && bower install'.
npm ERR! 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! cd app && npm install && bower install
npm ERR! 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-stable/mock/safe_launcher/npm-debug.log