Saturday 13 May 2017

MaidSafe browser not able to build 'pack-authenticator'

I am trying to use Maidsafe's latest version of Safe which is the all in one browser. I used the readme in Safe-browserto download and install Safe Browser. But on Step 4 " $ npm run pack-authenticator" terminal fails and outputs this ` Nathans-Air:~ nathanhunsberger$ cd safe_browser Nathans-Air:safe_browser nathanhunsberger$ npm run pack-authenticator

@ pack-authenticator /Users/nathanhunsberger/safe_browser node ./scripts/main.js --authenticator

@ pack-authenticator:unix /Users/nathanhunsberger/safe_browser sh ./scripts/pack_authenticator.sh

beaker-plugin-safe-authenticator@0.1.0 postinstall /Users/nathanhunsberger/safe_browser/authenticator download_deps --package package.json

beaker-plugin-safe-authenticator@0.1.0 build-libs /Users/nathanhunsberger/safe_browser/authenticator node ./build_libs.js "features=mock-routing"

beaker-plugin-safe-authenticator@0.1.0 build-libs:mock /Users/nathanhunsberger/safe_browser/authenticator npm run build-native-mock && npm run build-system-uri

beaker-plugin-safe-authenticator@0.1.0 build-native-mock /Users/nathanhunsberger/safe_browser/authenticator cd ./native/safe_authenticator && cargo clean && cargo update && cargo build --release --features "use-mock-routing" && cd ../../ sh: cargo: command not found npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! beaker-plugin-safe-authenticator@0.1.0 build-native-mock: cd ./native/safe_authenticator && cargo clean && cargo update && cargo build --release --features "use-mock-routing" && cd ../../ npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the beaker-plugin-safe-authenticator@0.1.0 build-native-mock 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! /Users/nathanhunsberger/.npm/_logs/2017-05-14T01_33_58_073Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! beaker-plugin-safe-authenticator@0.1.0 build-libs:mock: npm run build-native-mock && npm run build-system-uri npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the beaker-plugin-safe-authenticator@0.1.0 build-libs:mock 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! /Users/nathanhunsberger/.npm/_logs/2017-05-14T01_33_58_098Z-debug.log Build Authenticator exited with code 1 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! beaker-plugin-safe-authenticator@0.1.0 build-libs: node ./build_libs.js "features=mock-routing" npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the beaker-plugin-safe-authenticator@0.1.0 build-libs 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! /Users/nathanhunsberger/.npm/_logs/2017-05-14T01_33_58_134Z-debug.log cp: ./dist: No such file or directory Pack Authenticator exited with code 0`

I've updated npm and node.js twice(I think) so I don't understand why this keeps failing. Safe Browser runs fine, but won't authenticate anything, or even let me run "safe-auth://home/#login/" to login.

Any fixes? (if there is somewhere else I should post this, please say so!) Thx!



via nathan Hunsberger

No comments:

Post a Comment