[Pkg-javascript-devel] Bug#787924: node-crc: test failure Error: Use CoffeeScript.register()
Jérémy Lal
kapouer at melix.org
Sat Jun 6 12:02:30 UTC 2015
Package: node-crc
Version: 3.0.0-2
Severity: important
Hello,
while rebuilding node-crc in a clean sid sbuild chroot, this error happens:
dh build
dh_testdir
dh_auto_configure
debian/rules override_dh_auto_build
make[1]: Entering directory '/«PKGBUILDDIR»'
if [ ! -d lib.org ]; then mv lib lib.orig; fi
coffee --bare --output ./lib --compile ./src/*.coffee
make[1]: Leaving directory '/«PKGBUILDDIR»'
debian/rules override_dh_auto_test
make[1]: Entering directory '/«PKGBUILDDIR»'
mocha -C test/*.spec.coffee
/usr/lib/coffee-script/lib/coffee-script/coffee-script.js:213
throw new Error("Use CoffeeScript.register() or require the coffee-s
^
Error: Use CoffeeScript.register() or require the coffee-script/register module to require .coffee.md files.
at Object.base.(anonymous function) [as .coffee] (/usr/lib/coffee-script/lib/coffee-script/coffee-script.js:213:17)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at /usr/lib/nodejs/mocha/lib/mocha.js:172:27
at Array.forEach (native)
at Mocha.loadFiles (/usr/lib/nodejs/mocha/lib/mocha.js:169:14)
at Mocha.run (/usr/lib/nodejs/mocha/lib/mocha.js:356:31)
at Object.<anonymous> (/usr/lib/nodejs/mocha/bin/_mocha:366:16)
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:906:3
make[1]: *** [override_dh_auto_test] Error 8
debian/rules:19: recipe for target 'override_dh_auto_test' failed
Is mocha the problem ? node-crc ? coffeescript ?
Jérémy
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (670, 'unstable'), (650, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages node-crc depends on:
ii nodejs 0.10.38~dfsg-1
node-crc recommends no packages.
node-crc suggests no packages.
-- no debconf information
More information about the Pkg-javascript-devel
mailing list