code-server icon indicating copy to clipboard operation
code-server copied to clipboard

IOS / ish install hangs

Open robertwatkins opened this issue 4 years ago • 10 comments

In following the steps here: https://coder.com/docs/code-server/latest/ios

I get stuck on the installation step. It’s been sitting for over an hour, no progress, no error. I have the latest patches on an IPad Pro

iPad-2:~# curl -fsSL https://code-server.dev/install.sh | sh
Alpine Linux v3.14
Installing latest from npm.

sh: NPM_PATH: not found
Installing with npm.

+ npm install -g code-server --unsafe-perm

is there a way to provide additional insight or is there a known fix?

robertwatkins avatar Jun 23 '22 01:06 robertwatkins

Ok… so the tech gremlins are playing tricks on me.

When I opened a second terminal of ISH to see what’s going on, it started to do something…

robertwatkins avatar Jun 23 '22 01:06 robertwatkins

Closing while I sort this out…

robertwatkins avatar Jun 23 '22 01:06 robertwatkins

Okay feel free to open a Discussion if you need help!

jsjoeio avatar Jun 23 '22 17:06 jsjoeio

How do you solve this issue? I’ve got the same issue today.

zhaob1n avatar Oct 11 '22 07:10 zhaob1n

Can you share more about your issue or what you're seeing?

jsjoeio avatar Oct 13 '22 16:10 jsjoeio

Thanks @jsjoeio , when I run the script

curl -fsSL https://code-server.dev/install.sh | sh

It seems to run (for days if I let it). I open a second terminal session and can see node processes start and stop, but it doesn’t seem to finish. tbh, there’s not much to see because the script itself doesn’t produce any output during this time and I’m not sure if any logging is happening.

========================== The longer story fwiw

I switched over to running this on RedHat and pointing my iPad to that instance. That approach now has me faced with a limitation of code-server not fully supporting vs code extensions, which is far outside the scope of the (fabulous) ish project. My ultimate goal was to use my iPad to build and test a plugin/extension for a ‘common’ IDE. Turns out that code-server on iPad is not the route that seems to be for me. I really am putting my own barriers in place, which makes this a challenge (don’t pay for hosting, don’t host on my employer’s AWS sandbox (even though this is ultimately for them), use my iPad, don’t use RDP, NoMachine, Only use Open Source (so I can install on an at-home server), etc.)

robertwatkins avatar Oct 17 '22 00:10 robertwatkins

Hmm...I'm trying to think what else would could do to help you get past this. Pinging the wizard @code-asher - any ideas?

jsjoeio avatar Oct 17 '22 20:10 jsjoeio

The only thing that comes to mind is to try the npm install command directly with more flags. Something like raising the log levels with --dd (verbose) or --ddd (silly).

npm install -g code-server --unsafe-perm --dd

code-asher avatar Oct 19 '22 16:10 code-asher

Might be related: https://github.com/ish-app/ish/issues/874

code-asher avatar Oct 19 '22 16:10 code-asher

Closing for now since I am not sure there is anything we need to change in code-server. Happy to reopen if there is something that needs to be fixed.

code-asher avatar Jul 12 '24 00:07 code-asher