Install failed with "server error" due to a peer dependency on wiki-client. This took detailed investigation in the network tab to find this error report returned from the server but not displayed in any convenient place.
} catch (err) {
$item.find('p').html('server error')
}
Maybe get the full text of the response and console.log it where it can be easily found. Or maybe try even harder somehow.