Error: EROFS: read-only file system, mkdir '/user' code example Example: Error: EROFS: read-only file system, mkdir '/user' mv ~/.npmrc ~/.npmrc.old npm prefix -g