-
Notifications
You must be signed in to change notification settings - Fork 9
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
Error: Decaf.cmd not found #5
Comments
You installed the package with -g enabled? Which user are FitNesse running under and for which user have you installed decaf? What operating system are you using? |
Hey sorry for the delay ... yes I install it with -g ... I use windows mainly ... I have a couple of macs so I could try there |
Could you check that decaf is installed in %AppData%\npm? Also, which user did you install as and which user do you run FitNesse as? They have to match. |
I have exactly the same issue: "Unable to start test system 'slim': java.io.IOException: Cannot run program "decaf.cmd": error=2, No such file or directory" I ran decaf, to see if it was installed, and got an error: "env: coffee\r: No such file or directory" So, apart from user issues, it's not finding coffee. I installed as sudo, and ran FitNesse as me, a user on OSX with admin privileges. I'm actually wondering if we can install this locally somewhere so that it can be run by the same user that runs fitnesse. Any idea about the environment error? |
Couple of things of note:
Note "decaf.cmd" - I'm on OSX, but that looks like a Windows command, no?
|
Ok, so a tiny bit of progress: After this instruction:
you need to change
So, now it runs decaf, shows this for 10 seconds:
Then there is a red warning:
and a yellow warning:
and, it throws this exception from the jar file:
So, now we're actually running decaf, but I'm still concerned about this message which you get when running decaf from the command line:
That's my next exploration. David |
So, in googling around I came across folks who had a similar error, with a different program: surjikal/sublime-coffee-compile#9 The advice is:
|
I ran into the same problem on Mac OS X... Neither bin/decaf nor bin/decaf-js work for me on the command line. And I don't really feel like tampering around with launchctl.conf (also b/c of portability). So my ugly and brute-force but sufficient solution is this: !define TEST_SYSTEM {slim} (given that the folder where I invoke Fitnesse is a sibling of the node_modules folder) @msuarz: Maybe you can find a nicer way to get this to work on a Mac? |
I just switched my dev setup into mac ... I'll look into it ... cheers |
It looks like a problem with line endings ... i was able to run everything fine in the mac ... I republished and the new version should have the proper line endings given i did it from the mac ... I think windows can handle it fine ... plus the error was in a line that windows doesn't care for ... please notice that as david said it works with {decaf %p} instead of decaf.cmd cheers ... happy new year |
The new version 0.1.6 now works for me - thanks very much! Happy New Year :-) |
awesome cheers |
Followed the README instructions, installed Decaf, but am getting this error when trying to run the fixture:
Unable to start test system 'slim': java.io.IOException: Cannot run program "decaf.cmd": error=2, No such file or directory
Any ideas?
The text was updated successfully, but these errors were encountered: