Open mjgs opened 1 year ago
For me nodejs and npm is working fine with the sam versions as you are having on iPhone 11 and iSh 1.3.2
However, the http-server module is not working for me. But the http.server from python works really well, as described here: https://github.com/ish-app/ish/wiki/Running-a-Python-Web-Server
On my iPhone 11 it works perfectly. But on my iPad 9th gen. I always get a segmentation fault when I try to install something.
Thanks for the reply @Dlurak
I tried running the npm command again today. This time it ran after about 30 seconds. However after looking good for a few minutes, appearing to install various packages it terminated with:
Mark-Smiths-iPod:~# npm install -g http-
server
npm install -g http-server[.............[ ] - reify:async: http fetch GET 200 https://registry.n
#
# Fatal error in , line 0
# Check failed: fixed_size_above_fp + (stack_slots * kSystemPointerSize) - CommonFrameConstants::kFixedFrameSizeAboveFp + outgoing_size == result.
#
#
#
#FailureMessage Object: 0xffff84c4
Illegal instruction
Is that the same as what you were seeing in your iPad? What OS version is your iPhone running?
I really want to get a nodejs web server running.
Anyone have some ideas how to get past this blockage?
I’m trying to run a simple http server and browse files/pages from Safari.
Installing nodejs works:
Installing npm appears to work:
But npm always just hangs:
Has anyone gotten nodejs and npm running? Is it even possible?