Skip to content

failure "empty command evaluates to undefined" with nodejs 4.8.2 #4502

@jonassmedegaard

Description

@jonassmedegaard

Hi,

Coffeescript 1.12.5 fails when built with Nodejs 4.8.2 (the version in Debian unstable/testing).
with the following error message and stacktrace:

bin/cake build:full
failed 1 and passed 834 tests in 23.65 seconds 

  empty command evaluates to undefined 
  AssertionError: Expected undefined to equal coffee> 
    at exports.eq (/build/coffeescript-1.12.5~dfsg/test/support/helpers.coffee:16:34)
    at /build/coffeescript-1.12.5~dfsg/test/repl.coffee:1:1
    at Function. (/build/coffeescript-1.12.5~dfsg/test/repl.coffee:1:1)
    at global.test (/build/coffeescript-1.12.5~dfsg/Cakefile:1:1)
    at testRepl (/build/coffeescript-1.12.5~dfsg/test/repl.coffee:1:1)
    at Object. (/build/coffeescript-1.12.5~dfsg/test/repl.coffee:1:1)
    at Object. (/build/coffeescript-1.12.5~dfsg/test/repl.coffee:1:1)
    at Module._compile (module.js:1:1)
    at Object.exports.run (/build/coffeescript-1.12.5~dfsg/lib/coffee-script/coffee-script.js:1:1)
    at runTests (/build/coffeescript-1.12.5~dfsg/Cakefile:1:1)
    at testBuiltCode (/build/coffeescript-1.12.5~dfsg/Cakefile:1:1)
    at /build/coffeescript-1.12.5~dfsg/Cakefile:1:1
    at ChildProcess. (/build/coffeescript-1.12.5~dfsg/Cakefile:1:1)
    at emitTwo (events.js:1:1)
    at ChildProcess.emit (events.js:1:1)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:1:1)
 
  function () {
      return fn(input, output, repl);
    }

If instead using Nodejs 6.10.2 (in Debian experimental) the testsuite succeeds.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions