title: TypeError: require(...).jsdom is not a function
body: <p>I have used visual studio 2015 for nodejs web development.<br>
  I have following packages for nodejs like. </p>
  
  <ul>
  <li>body-parser 1.18.1   </li>
  <li>express 4.15.4   </li>
  <li>jquery 1.7.4</li>
  <li>html 1.0.0</li>
  <li>jsdom 11.2.0</li>
  </ul>
  
  <p>and my server.js is </p>
  
  <pre><code>var http = require('http');
  var express = require('express');
  var bodyParser = require('body-parser');
  var jsdom = require('jsdom');
  
  var path = require('path');
  var port = process.env.port || 1337;
  var app = express();
  app.use(bodyParser());
  
  app.use('/bootstrap', express.static(__dirname + '/public/bootstrap'));
  app.use('/css', express.static(__dirname + '/public/css'));
  app.use('/jquery', express.static(__dirname + '/public/jquery'));
  app.use('/pages', express.static(__dirname + '/public/pages'));
  app.use('/popper', express.static(__dirname + '/public/popper'));
  app.use('/scripts', express.static(__dirname + '/public/scripts'));
  
  app.get('/', function (request, response) {
  var $ = require('jquery');
  var title = $(html).find('title').text();
  console.log(title);
  response.send("Hello node");
  });
  app.listen(port);
  </code></pre>
  
  <p>Unable to use jquery getting error. "<strong>TypeError: require(...).jsdom is not a function</strong>"</p>
  
  <pre><code>TypeError: require(...).jsdom is not a function
  at create (c:\users\XYZ12\documents\visual studio 2015\Projects\NodeMovieList\NodeMovieList\node_modules\jquery\lib\node-jquery.js:5:31)
  at c:\users\XYZ12\documents\visual studio 2015\Projects\NodeMovieList\NodeMovieList\node_modules\jquery\lib\node-jquery.js:9435:18
  at Object.&lt;anonymous&gt; (c:\users\XYZ12\documents\visual studio 2015\Projects\NodeMovieList\NodeMovieList\node_modules\jquery\lib\node-jquery.js:9437:2)
  at Module._compile (module.js:570:32)
  at Object.Module._extensions..js (module.js:579:10)
  at Module.load (module.js:487:32)
  at tryModuleLoad (module.js:446:12)
  at Function.Module._load (module.js:438:3)
  at Module.require (module.js:497:17)
  at require (internal/module.js:20:19)
  </code></pre>