-
Notifications
You must be signed in to change notification settings - Fork 869
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPFS Desktop - installing from source issue - Running as root without --no-sandbox is not supported #2090
Comments
This comment was marked as resolved.
This comment was marked as resolved.
*Additional info in-case if I already tried to add new user and do same installation steps as described, it also gives an error but different > ipfs-desktop@0.20.4 start > cross-env NODE_ENV=development electron . 2022-03-31T08:17:33.988Z info: [meta] logs can be found on /path/to/home/.config/IPFS Desktop /path/to/home/ipfs-desktop/node_modules/electron/dist/electron exited with signal SIGTRAP When I tried to check the "log", I couldn't found any useful thing.
But, not a real error log or else. Kinda wonder if installation from source is really work or not for this version. 😕 |
In general, you should never run random code from the internet as root 🙈 My understanding is that you run Ubuntu 18.04.06 LTS. Other thing to check is to change - "start": "cross-env NODE_ENV=development electron .",
+ "start": "cross-env NODE_ENV=development electron -no-sandbox .", and try Lmk if any of the above helped. |
Thanks a lot for your tips! Will take notes for it. 😄 And yes, I already create a regular user and use it to install ipfs-desktop as-per my second comment above, but the error shown as mentioned. 😕 Also, as per your suggestion to add Seems the error due old version(?) of Ubuntu. Anyway, as for now, I'm using |
|
Thank you for your comments. I will take notes for it, for future references! |
Describe the bug
Hi there, I kinda new in linux world, so any suggestion is welcome. :)
Anyway, about the issue. I tried to follow these steps to install ipfs-desktop.
On early phase of installation, I got this kind of error
So, every error around that, I install it one by one (you can see on
steps to reproduce
below, no.4).And at last, I tried
npm start
and it gives me another error, as written onsteps to reproduce
below, no.5So, is there any issue about that?
I wonder if running it as
root
is an issue, but when I see, there's no documentation (or do I miss it?) around that, so I think it's okay if we run it asroot
.Also, I'm not sure about packages /
.so
libraries that missing, so, is there any per-requisites before installing this other than installing node and npm itself?And last, if we can't run it as
root
due some issue etc, do you think it needs to be added on documentation?To Reproduce
Steps to reproduce the behavior:
SSH login as root
Following the same steps to install ipfs-desktop
When reaching
npm start
, got some errors related.so
packages, so I install some of it one-by-one depends of what it needs.To sum-up I did this
sudo apt-get install libnss3 -y && sudo apt-get install libatk-bridge2.0-0 -y && sudo apt-get install libcups2 -y && sudo apt-get install libgtk-3-0 -y && sudo apt-get install libgbm -y && sudo apt-get install libasound2 -y
Try to do
npm start
and it showsExpected behavior
Not sure, but, ipfs-desktop should start without an issue(?).
Additional context
I did those above steps, as
root
. I tried to check around the solution, but I ended-up no idea of what it is or how to do that.Here's one of the result when I tried to check around how to overcome this issue - link. But I really have no idea what it's, but I think I shouldn't need to tweak the code(?)
Thanks for your time! :)
The text was updated successfully, but these errors were encountered: