Your message dated Wed, 07 May 2014 08:45:38 +0200
with message-id <1399445138.31977.2.camel@imac.chaumes>
and subject line Re: [Pkg-javascript-devel] Bug#747277: cannot start app: no 
method createServer
has caused the Debian Bug report #747277,
regarding cannot start app: no method createServer
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
747277: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747277
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: node-express
Version: 4.1.1~dfsg-1
Severity: grave

Hello,

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 

/home/joe/dev/i10/srv.js:7
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 };
  app.init();
  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

--- End Message ---
--- Begin Message ---
Hi,

Le mardi 06 mai 2014 à 23:33 -0400, Joseph Nahmias a écrit :
> Package: node-express
> Version: 4.1.1~dfsg-1
> Severity: grave
> 
> Hello,
> 
> Since I updated node-express today, I am no longer able to start my webapp.  
> I get the following error message:

You'll find good information about how to transition to express 4.0 in
the express wiki [1].

Here the transition is rough because debian jumps directly from express
2 to 4.

Closing.

Jérémy.


[1]
https://github.com/visionmedia/express/wiki/Migrating-from-2.x-to-3.x

--- End Message ---
_______________________________________________
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to