Sublime Forum

Build error with CasperJS / Coffeescript

#1

I’ve successfully created a custom build system for node w/ coffeescript on my machine with this:

{ "cmd": "coffee", "$file"], "selector" : "source.coffee", "path" : "/usr/local/bin" }

Now I’m trying to use CasperJS in coffescript. I’m trying the following configuration:

{ "cmd": "casperjs", "$file"], "selector" : "source.coffee", "path" : "/usr/local/bin" }
but when running it, I got a ‘env: python: No such file or directory’ error.

The casperjs executable is aliased in /usr/local/bin, and if I copy the command shown in the console and paste it in terminal, it runs fine.

Any idea?

0 Likes