So everything was working just fine and great until doing npm update and now things do not work quite as they used to.
A little background: in my code I use jquery
node.js-jQuery definition in one line:
// definition var $ = require('jquery')(require("jsdom").jsdom().parentWindow); // usage $("body").append("TEST"); console.log($("body").html());