-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Canvas On Android #1756
Comments
#1609 has a suggestion for how to build on termux that worked for one person. Can you try that? PR welcome if you figure out the build changes needed. |
I'm sorry for bumping this old issue, but it wasn't easy to find an answer for #Android-specific deps for #Termux. So, this is for anyone searching:
|
@4aiman Thank you very much, currently I'm just trying to use my phone as a temporary server until I have wifi again back at home, for my actual home server, and I do keep getting symlinks error and like permission errors once I keep trying to install canvas, I'll try these things in a bit and I'll let you know the result |
@4aiman By the way, question, how exactly do i use sudo? I'm somewhat familiar with the bash terminal but not too much, how exactly to activate it to be on root? (probably getting the terminology wrong) |
@EntropicBlackhole I think I just did something like Once installed, just prepend your commands with In all honesty, the biggest hurdle was realizing the ability of packages to be installed via sudo and not via "normal user" is tied not with privileges, but the file system. There's a reason your internal SD card is called "emulated/0". It's not a real file system, and it cannot be used to mount things or create symlinks. In the end I've created a folder in /data and placed all my node-related stuff there. Hope that helps |
@4aiman Termux actually asked me to do pkg install tsu (for sudo to work), which I did, but I still get symlink errors, I'm trying to install canvas on a folder that's inside the shared directory, however when it said that my GitHub ownership was dubious, the little command it gives you to type out afterwards actually went to the emulated path instead, which had me confused, but might be a reason as to why I keep getting symlink errors, also my phone is not rooted and a friend of mine pointed out it has to be for sudo work In this case, would it be better if I tried having the cloned repo in another folder, that's personal to the phone only? This would avoid the emulated folder as you mentioned I believe |
@EntropicBlackhole I've flashed a different ROM since (a modified crDroid12.1) and used a more frequent version of Termux (fDroid). |
Hello,how can i recompile canvas to use on android termux(arm)?
nodejs v14
The text was updated successfully, but these errors were encountered: