SAFE Beaker Browser: Installation Walkthrough

not quite, definitely has errors at every step of the installation :stuck_out_tongue:

heh, thatā€™ll be the problem if thatā€™s not rebuilding then,

Sorry windowsers! youā€™ll have to please be patient for a windows build. Proper packaging and apps for all OSs will likely be my jumping off point for dev, so Iā€™d hope to get them to yall ASAP.

5 Likes

Installataion works fine, thanks @betterthantrav for the excellent and very clear instructions. Butā€¦ I canā€™t browse any SAFE sites. {ā€œerrorCodeā€:-1004,ā€œdescriptionā€:ā€œDnsError::ServiceNotFoundā€} or {ā€œerrorCodeā€:-18,ā€œdescriptionā€:ā€œCoreError::GetFailure::GetError::NoSuchDataā€}

Do I need to configure a proxy somewhere?

No, but you do need to run the launcher.

Edit: you also need to remove .safenet from any address. For example ian.safenet becomes just ian. The browser will then automatically convert it to safe://ian.

The only reason to use a proxy is because modern browsers donā€™t recognize the safe:// protocol. The proxy converts something a modern browser can recognize ie http://ian.safenet into a format the safe:// protocol can recognize and use.

3 Likes

If you are using the Safe POC, remove the .safenet at the end of the address.

2 Likes

I fear if we donā€™t stop using .safenet this confusion will continue to grow.

.safenet was meant to be a temporary fix to the limitations of modern browsers. This is why we are building a safe:// specific browser.

2 Likes

Definitely agreed.

Need to nip this in the bud very early.

Good thing weā€™re only alpha 1 right now

1 Like

Fear not, when they are ready to switch to the safe:// syntax all they will have to do is to take down the url for the .pac file. This way all .safenet links will be broken and people will have to make the changes to the safe:// syntax if they want their safesite to keep on working. So I donā€™t see a big risk of being stuck with it.

1 Like

Until the SAFE Beaker Browser is up and operational. The only option to develop a website is .safenet

This can create the risk of .safenet becoming widely accepted and a temporary solution turning in to a more permanent solution.

1 Like

I understand your point of view, I just donā€™t feel the urgency. Anyway I donā€™t want to derail this thread, we may agree to disagree.

1 Like

I am trying to install on Ubuntu 16.04 and I get the following error when running npm install

npm install

> electron-prebuilt@1.2.7 postinstall /home/rviertel/beaker/node_modules/electron-prebuilt
> node install.js

sh: 1: node: not found
npm WARN optional Skipping failed optional dependency //appdmg:
npm WARN notsup Not compatible with your operating system or architecture: appdmg@0.3.10
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.15
npm WARN beaker No repository field.
npm WARN beaker No license field.
npm ERR! Linux 4.4.0-51-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! electron-prebuilt@1.2.7 postinstall: `node install.js`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the electron-prebuilt@1.2.7 postinstall script 'node install.js'.
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 electron-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs electron-prebuilt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls electron-prebuilt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/<username>/beaker/npm-debug.log

any suggestions?

1 Like

I recommend downloading a SAFE Browser binary from GitHub instead.
Hereā€™s the latest stable version: SAFE Browser v0.4.2 :slight_smile:

2 Likes

I didnā€™t realize there was a binary. Thanks for pointing that out!

I installed nodejs with

sudo apt-get install nodejs

but still got the errors. Either way, its working now so thanks.

2 Likes

The electron-prebuilt package tries to run node install.js, but it doesnā€™t work since your Node.js binary is called nodejs.

You could add the following symlink to fix the issue:

sudo ln -s /usr/bin/nodejs /usr/bin/node
3 Likes

thanks that worked perfectly

2 Likes