Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I'm trying to install nodejs stuff in the LAMP stack with /usr/local/bin/gosu cloudron:cloudron npm install. I get this error:
/usr/local/bin/gosu cloudron:cloudron npm install
Unhandled rejection Error: EROFS: read-only file system, mkdir '/home/cloudron/.npm'
How can I use npm in the LAMP app?
The LAMP app uses the www-data user. So /usr/local/bin/gosu www-data npm install should work,
www-data
/usr/local/bin/gosu www-data npm install
Ah, that did it. Thank you!