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

Cucumis not working out of the box #16

Open
mcollina opened this issue Apr 6, 2011 · 3 comments
Open

Cucumis not working out of the box #16

mcollina opened this issue Apr 6, 2011 · 3 comments

Comments

@mcollina
Copy link

mcollina commented Apr 6, 2011

I've installed cucumis, copy and pasted the "addition" feature on the README and cucumis fails with this error:

Error caught:
name: Error
message: Unexpected token "SENTENCE" at line 1
Error: Unexpected token "SENTENCE" at line 1
at Object.checkToken (/home/matteo/.nvm/v0.4.5/lib/node/.npm/cucumis/1.0.17/package/deps/kyuri/lib/kyuri/parser.js:407:13)
at Object.parse (/home/matteo/.nvm/v0.4.5/lib/node/.npm/cucumis/1.0.17/package/deps/kyuri/lib/kyuri/parser.js:392:14)
at Object.parse (/home/matteo/.nvm/v0.4.5/lib/node/.npm/cucumis/1.0.17/package/deps/kyuri/lib/kyuri/core.js:52:17)
at runFeature (/home/matteo/.nvm/v0.4.5/lib/node/.npm/cucumis/1.0.17/package/bin/cucumis.js:224:20)
at next (/home/matteo/.nvm/v0.4.5/lib/node/.npm/cucumis/1.0.17/package/bin/cucumis.js:176:5)
at /home/matteo/.nvm/v0.4.5/lib/node/.npm/cucumis/1.0.17/package/bin/cucumis.js:182:4
at next (/home/matteo/.nvm/v0.4.5/lib/node/.npm/cucumis/1.0.17/package/bin/cucumis.js:217:4)
at notifyListeners (/home/matteo/.nvm/v0.4.5/lib/node/.npm/cucumis/1.0.17/package/bin/cucumis.js:219:3)
at runFeatures (/home/matteo/.nvm/v0.4.5/lib/node/.npm/cucumis/1.0.17/package/bin/cucumis.js:173:2)
at Object. (/home/matteo/.nvm/v0.4.5/lib/node/.npm/cucumis/1.0.17/package/bin/cucumis.js:143:1)

I'm using node 0.4.5.

@abendigo
Copy link

I am having the same issue

@jonmc12
Copy link

jonmc12 commented May 22, 2011

I am having the same issue - using node 0.4.1.

Edit: Actually, we just figured it out. Its tabs vs spaces in the text file.

@abendigo
Copy link

abendigo commented Jun 9, 2011

Aye, once I changed my spaces into tabs, it worked as advertised!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants