legacy-wallet-use-trinity-wallet-instead icon indicating copy to clipboard operation
legacy-wallet-use-trinity-wallet-instead copied to clipboard

Hello. Does it works on FreeBSD?

Open sailorsamoor opened this issue 8 years ago • 9 comments

Hello.

Does it works on FreeBSD? If yes, must I run `npm install..' as root user?

Thanks. P.S. I tried to run npm install it as ordinary user. Don't think it will work.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-win@^2.1.1 (node_modules/7zip-bin/node_modules/7zip-bin-win): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"win32","arch":"any"} (current: {"os":"freebsd","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-linux@^1.1.0 (node_modules/7zip-bin/node_modules/7zip-bin-linux): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"linux","arch":"any"} (current: {"os":"freebsd","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-mac@^1.0.1 (node_modules/7zip-bin/node_modules/7zip-bin-mac): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"freebsd","arch":"x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] postinstall: node install.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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 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 npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls electron npm ERR! There is likely additional logging output above.

sailorsamoor avatar Nov 29 '17 19:11 sailorsamoor

I have same problem. Did not manage to install in my FreeBSD. Let's try to post on FreeBSD forum ?

brunobiondo avatar Jan 29 '19 23:01 brunobiondo

I didn't it, may be you?

sailorsamoor avatar Jan 30 '19 15:01 sailorsamoor

I read we should use triniti-wallet, this package is deprecated. I install triniti-wallet, so far everything is fine.

sailorsamoor avatar Jan 30 '19 15:01 sailorsamoor

Did you manage to install it?

brunobiondo avatar Jan 30 '19 17:01 brunobiondo

trinity-wallet - yes, I did. But I can't install Electron through npm . I try to do it through yarn in user area...

sailorsamoor avatar Jan 30 '19 17:01 sailorsamoor

All node package managers say that: Error: Failed to find Electron v4.0.3 for freebsd-x64 at https://github.com/electron/electron/releases/download/v4.0.3/electron-v4.0.3-freebsd-x64.zip

sailorsamoor avatar Jan 30 '19 19:01 sailorsamoor

Same error here: Error: Failed to find Electron v4.0.3 for freebsd-x64 at https://github.com/electron/electron/releases/download/v4.0.3/electron-v4.0.3-freebsd-x64.zip, while npm installing this electron javascript manager. I checked that Web page, and actually, among the listed packages, there is no electron-v4.0.3-freebsd-x64.zip. Now I'm stuck at that point. Idea: I activated linux compatibility via BSD kernel modules (https://www.freebsd.org/doc/handbook/linuxemu-lbc-install.html), and also installed a linux library, following the directions in the handbook. After that, executing an Linux ELF binary should be seamless, apart from certain rare cases. Now I'm tired, tomorrow I wil check downloading the linux version of trinity, and see what happens.

brunobiondo avatar Jan 30 '19 20:01 brunobiondo

@brunobiondo hello, what me electron-team answers:

"We don't provide prebuilt binaries for freebsd, as we don't officially support that platform." Electron-Git

May be the idea with Linux emulator will be better).

sailorsamoor avatar Jan 31 '19 14:01 sailorsamoor

Hi @sailorsamoor, thank you for reporting the issue, in the meanwhile I'm experimenting, and as soon as I get advances, I will update here

brunobiondo avatar Jan 31 '19 18:01 brunobiondo