Package: node-express
Version: 4.1.1~dfsg-1
Severity: grave


Since I updated node-express today, I am no longer able to start my webapp.  I 
get the following error message:

$ head srv.js 
// new server using Express module
var debug = require('debug')('express');
var express = require('express');
var proc = require('./procs');
var port = 9001;

var app = express.createServer();
app.set('view engine', 'ejs');

// log all requests
$ DEBUG=* nodejs srv.js 

var app = express.createServer();
TypeError: Object function createApplication() {
  var app = function(req, res, next) {
    app.handle(req, res, next);

  mixin(app, proto);
  mixin(app, EventEmitter.prototype);

  app.request = { __proto__: req, app: app };
  app.response = { __proto__: res, app: app };
  return app;
} has no method 'createServer'
    at Object.<anonymous> (/home/joe/dev/i10/srv.js:7:19)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:902:3

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages node-express depends on:
ii  node-accepts            1.0.1-1
ii  node-buffer-crc32       0.2.1-1
ii  node-cookie             0.1.0-1
ii  node-cookie-signature   1.0.1-1
ii  node-debug              0.8.1-1
ii  node-escape-html        1.0.1-1
ii  node-fresh              0.2.0-1
ii  node-merge-descriptors  0.0.2-1
ii  node-methods            0.1.0-1
ii  node-parseurl           1.0.1-1
ii  node-path-to-regexp     0.1.2-1
ii  node-qs                 0.6.5-1
ii  node-range-parser       0.0.4+git7d1cd72a-1
ii  node-send               0.3.0-1
ii  node-serve-static       1.1.0-1
ii  node-type-is            1.1.0-1
ii  node-utils-merge        1.0.0-1
ii  nodejs                  0.10.26~dfsg1-1

node-express recommends no packages.

Versions of packages node-express suggests:
pn  node-express-generator  <none>

-- no debconf information

Pkg-javascript-devel mailing list

Reply via email to