[Pkg-javascript-devel] Bug#793828: node-express-generator: crashes if run within a non-empty directory

James Cowgill james410 at cowgill.org.uk
Mon Jul 27 23:13:22 UTC 2015


Package: node-express-generator
Version: 4.0.0-2
Severity: important
Tags: fixed-upstream

Hi,

express crashes if run within a non-empty directory:
james at helena:/tmp$ express

/usr/lib/nodejs/express-generator/bin/express:62
      program.confirm('destination is not empty, continue? ', function(ok){
              ^
TypeError: Object #<Command> has no method 'confirm'
    at /usr/lib/nodejs/express-generator/bin/express:62:15
    at /usr/lib/nodejs/express-generator/bin/express:220:5
    at Object.oncomplete (fs.js:108:15)

The commander.confirm method was removed from commander in 2.0.0.

This was fixed upstream here:
https://github.com/expressjs/generator/commit/24ab92090bc5da8af28b880549049fe07e837505

Thanks,
James

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, mipsel, armhf

Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages node-express-generator depends on:
ii  node-commander  2.4.0-1
ii  node-mkdirp     0.5.0-1
ii  nodejs          0.10.38~dfsg-1

Versions of packages node-express-generator recommends:
ii  node-express  4.1.1~dfsg-1

node-express-generator suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20150728/4f7fe0c9/attachment-0001.sig>


More information about the Pkg-javascript-devel mailing list