Trying to fix "`versions` is not an array" error