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