You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I seem to have had issues since updating to CoffeeScript 1.7.1.
Since then, I get the following error when attempting to run tests:
$ cucumber.js test -f pretty --coffee
/home/ubuntu/webapp/test/features/support/world.coffee:1
ports, require, module, __filename, __dirname) { chai = require "chai"
^^^^^^
SyntaxError: Unexpected string
at Module._compile (module.js:439:25)
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 Module.require (module.js:364:17)
at require (module.js:380:17)
at /home/ubuntu/webapp/node_modules/cucumber/lib/cucumber/cli/support_code_loader.js:56:29
at Array.forEach (native)
at Object.wrapper (/home/ubuntu/webapp/node_modules/cucumber/lib/cucumber/cli/support_code_loader.js:55:15)
at Object.initializer (/home/ubuntu/webapp/node_modules/cucumber/lib/cucumber/cli/support_code_loader.js:16:37)
at Object.Library (/home/ubuntu/webapp/node_modules/cucumber/lib/cucumber/support_code/library.js:91:25)
at Object.getSupportCodeLibrary (/home/ubuntu/webapp/node_modules/cucumber/lib/cucumber/cli/support_code_loader.js:7:58)
at Object.getSupportCodeLibrary (/home/ubuntu/webapp/node_modules/cucumber/lib/cucumber/cli/configuration.js:47:52)
at Object.getSupportCodeLibrary (/home/ubuntu/webapp/node_modules/cucumber/lib/cucumber/runtime.js:29:46)
at Object.start (/home/ubuntu/webapp/node_modules/cucumber/lib/cucumber/runtime.js:11:37)
at Object.runSuiteWithConfiguration (/home/ubuntu/webapp/node_modules/cucumber/lib/cucumber/cli.js:19:15)
at Object.run (/home/ubuntu/webapp/node_modules/cucumber/lib/cucumber/cli.js:12:14)
at Object.<anonymous> (/home/ubuntu/webapp/node_modules/cucumber/bin/cucumber.js:4:5)
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:901:3
The error goes away when I revert back to 1.6.x
The text was updated successfully, but these errors were encountered:
I seem to have had issues since updating to CoffeeScript 1.7.1.
Since then, I get the following error when attempting to run tests:
The error goes away when I revert back to 1.6.x
The text was updated successfully, but these errors were encountered: