Hi! After reading the latest dev-update, I decided to try the new browser. I am trying to use the latest version of Safe-browser. I used the readme in Safe-Browser to 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, and looks awesome! But it won’t authenticate any apps, I tried the mock hosting app, and it says it sent a request to the browser, and I need to authorize it, but there is nothing changing in the browser. I run safe-auth://home/#login
and it returns ERR_NOT_IMPLEMENTED
.
Do I need to wait until a testate to run safe-auth://home/#login
or is it an authenticator problem?
Any fixes?
Thx!