Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update coffee-script dependency #153

Closed
gabehayes opened this issue Feb 7, 2014 · 2 comments
Closed

Update coffee-script dependency #153

gabehayes opened this issue Feb 7, 2014 · 2 comments

Comments

@gabehayes
Copy link
Contributor

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

@jbpros
Copy link
Member

jbpros commented Mar 6, 2014

Closed by 98a2725, right? If not , feel free to reopen.

@jbpros jbpros closed this as completed Mar 6, 2014
@lock
Copy link

lock bot commented Oct 25, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants