SAFEr Browser(s) Proposal

I stand corrected. I had missed the optional bit.

My argument then simply becomes one of familiarity and expectations rather than one of welformedness.

Guess we’re back to the realm of emotion and oppion then :slight_smile:

2 Likes

Very good, so there’s no such thing as a “protocol scheme.”

From the definition that you quote, scheme is the syntax of Internet protocols’ address signifiers.

:stuck_out_tongue:

2 Likes

A mockup? Great. Let me fire up my copy of Gimp…

1 Like

Yo bro it’s not a mockup it’s something that’s actually working. :stuck_out_tongue:

But what will be easier? Go to Coinbase, buy some bitcoins, refill your browser’s wallet and make a payment or just pay through “farming”?:stuck_out_tongue:

ON Fedora 25 x86_64 I get:

[16:54:50] Using gulpfile ~/0_maidsafe/beaker/gulpfile.js
[16:54:50] Starting ‘bundle’…
[16:54:50] Starting ‘less’…
[16:54:50] Finished ‘less’ after 273 ms
[16:54:51] Finished ‘bundle’ after 1.3 s
[16:54:51] Starting ‘build’…
[16:54:51] Finished ‘build’ after 15 μs
[16:54:51] Starting ‘watch’…
[16:54:51] Finished ‘watch’ after 6.09 ms
[16:54:51] Starting ‘start’…
[16:54:51] Finished ‘start’ after 14 ms
App threw an error during load
Error: Cannot find module ‘/home/phil/0_maidsafe/beaker/app/node_modules/sqlite3/lib/binding/electron-v1.2-linux-x64/node_sqlite3.node’
at Module._resolveFilename (module.js:438:15)
at Function.Module._resolveFilename (/home/phil/0_maidsafe/beaker/node_modules/electron-prebuilt/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (module.js:386:25)
at Module.require (module.js:466:17)
at require (internal/module.js:20:19)
at Object. (/home/phil/0_maidsafe/beaker/app/node_modules/sqlite3/lib/sqlite3.js:4:15)
at Module._compile (module.js:541:32)
at Object.Module._extensions…js (module.js:550:10)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module ‘/home/phil/0_maidsafe/beaker/app/node_modules/sqlite3/lib/binding/electron-v1.2-linux-x64/node_sqlite3.node’
at Module._resolveFilename (module.js:438:15)
at Function.Module._resolveFilename (/home/phil/0_maidsafe/beaker/node_modules/electron-prebuilt/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (module.js:386:25)
at Module.require (module.js:466:17)
at require (internal/module.js:20:19)
at Object. (/home/phil/0_maidsafe/beaker/app/node_modules/sqlite3/lib/sqlite3.js:4:15)
at Module._compile (module.js:541:32)
at Object.Module._extensions…js (module.js:550:10)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
events.js:160
throw er; // Unhandled ‘error’ event
^

Error: watch /home/phil/0_maidsafe/beaker/app/node_modules/es5-ext/string/#/contains/implement.js ENOSPC
at exports._errnoException (util.js:1026:11)
at FSWatcher.start (fs.js:1429:19)
at Object.fs.watch (fs.js:1456:11)
at createFsWatchInstance (/home/phil/0_maidsafe/beaker/node_modules/chokidar/lib/nodefs-handler.js:37:15)
at setFsWatchListener (/home/phil/0_maidsafe/beaker/node_modules/chokidar/lib/nodefs-handler.js:80:15)
at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/phil/0_maidsafe/beaker/node_modules/chokidar/lib/nodefs-handler.js:228:14)
at FSWatcher.NodeFsHandler._handleFile (/home/phil/0_maidsafe/beaker/node_modules/chokidar/lib/nodefs-handler.js:255:21)
at FSWatcher. (/home/phil/0_maidsafe/beaker/node_modules/chokidar/lib/nodefs-handler.js:473:21)
at FSReqWrap.oncomplete (fs.js:123:15)

npm ERR! Linux 4.8.0-0.rc2.git3.1.fc25.x86_64
npm ERR! argv “/usr/bin/node” “/bin/npm” “start”
npm ERR! node v6.5.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! @ start: gulp start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ start script ‘gulp start’.
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! gulp start
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/phil/0_maidsafe/beaker/npm-debug.log

hey @philip_rhoades, can you try using the prebuilt packages over here: SAFEBBrowser Pre-release: 0.2.4 Test the API! - General - Safe Dev Forum

the tar.gz is the linux build. You shouldn’t need to be compiling from source. (though if you want to, it looks like you’re missing runnning the npm run rebuild step before you try npm start)

2 Likes

Hmm, I clicked that and this happened:

Also, last time I visited that link, all that was available on the github download page was the source files. Maybe that’s what Philip was confused by also?

:doh: I’d cut two digits off the thread :expressionless: the link should work now.

2 Likes

@joshuef,

./SAFE\ Beaker\ Browser
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module ‘/home/phil/0_maidsafe/safer-beaker-browser-0.2.4-0/resources/app.asar/node_modules/sqlite3/lib/binding/electron-v1.3-linux-x64/node_sqlite3.node’
at Module._resolveFilename (module.js:440:15)
at Function.Module._resolveFilename (/home/phil/0_maidsafe/safer-beaker-browser-0.2.4-0/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (module.js:388:25)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object. (/home/phil/0_maidsafe/safer-beaker-browser-0.2.4-0/resources/app.asar/node_modules/sqlite3/lib/sqlite3.js:4:15)
at Module._compile (module.js:541:32)
at Object.Module._extensions…js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)

This is the error that we were all getting a while back also. Looks like it comes up again here and there along SAFEr development

Has to do with the node packages right?

If not already, try:

npm install
npm run rebuild
npm start

If that doesn’t work, check your version of npm is up to date. I’m on mobile so can’t check what I’m using but @whiteoutmashups can I guess.

3 Likes

I have hit similar issues on fedora 21,

Hope this can help !

1 Like

@nice,

Can’t compile anything from that tgz . .

I get the same problem still . .

Right now there’s build problems with linux. I’ve a docker image prepped locally which is booting, I just need to hook this into travis.

I’m going to fire in there this eve, so (fingers crossed) working linux builds (pre packaged, so no install) coming soon.


If you are trying to build from source, I’d suggest working from the git/master branch and not the bundles right now as they’re unreliable.

On which: what version of node are you running (node -v).

4 Likes

@joshuef I was thinking about the SAFE Mail App. Would it be possible to create some sort of App-page on the browser? So you open the browser and choose “SAFE Mail” or “SAFE Chat” or “WALLET” by clicking some icons. The Apps could be default and part of the release of the browser. That way no one can alter the code later on and everybody has the same set of Apps presented by some nice icons. Chrome Apps failed because people already run apps on their PC. For the SAFE Beaker Browser it could work I think. All apps and tools in view by just opening the browser.

8 Likes

Nice idea. Should entirely be possible, and something to look at after the stretches are done!

4 Likes

Having people build HTML5 apps for the SAFE Browser while accessing the new API capabilities would be a fairly easy transition for a lot of devs I would think! Great idea!

4 Likes

This could be pretty huge…

1 Like

Is there any vision by Maidsafe on this? @frabrunelle @dirvine ?

We’re seeing brand new apps appear on a weekly base now. Does Maidsafe has a vision about how to center them all around 1 interface like a browser? Or another App-environment? We might see external devs build a lot of great stuff but if they know things will be centered in a browser they might switch development a bit concentrating on web-apps.

2 Likes