build-nodejs-for-android icon indicating copy to clipboard operation
build-nodejs-for-android copied to clipboard

When execute "./npm install -g http-server ", get error of "read-only file system"

Open simmeryson opened this issue 8 years ago • 2 comments

Hi,

When I exectue test statment "./npm install -g http-server " , shell raises a error of "EROFS: read-only file system, mkdir '/tmp'".

How to solve this error?

simmeryson avatar May 22 '17 04:05 simmeryson

hi, i guess you are running this command from your android App, right? Then your app need add permission to access external storage.

jjqq2013 avatar May 24 '17 14:05 jjqq2013

mount -o rw,remount /

DerGoogler avatar Mar 11 '22 21:03 DerGoogler