Fixing the problem with the postinstall and postupdate hooks needed to patch jsdom
One hunk was failing causing the script to exit with a status code of 1 which led to the abort of the install. Removed the hunk (lib/jsdom/level1/core.js - line 1015)