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