sjitech / build-nodejs-for-android

Build nodejs for android(arm,arm64,x86,x64,mipsel) perfectly and provide prebuilt binaries, and a docker image as workbench.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

simmeryson opened this issue · 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?

commented

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

mount -o rw,remount /