I am trying to run npm install from inside AWS Lambda. But I'm getting the below error. Setting --prefix to "/tmp" doesn't work either.
{ Error: Command failed: npm install async npm ERR! code EROFS npm ERR! syscall mkdir npm ERR! path /home/sbx_user1051 npm ERR! errno -30 npm ERR! rofs EROFS: read-only file system, mkdir '/home/sbx_userXXXX' npm ERR! rofs Often virtualized file systems, or other file systems npm ERR! rofs that don't support symlinks, give this error.