我通过Package Control安装了CoffeeScript插件.当我尝试构建test.coffee时,它给了我:
[Error 2] The system cannot find the file specified
[cmd: [u'cake', u'sbuild']]
[dir: C:\Users\Me\Documents\TestProject]
[path: C:\Users\Me\AppData\Roaming\npm\]
[Finished]
Run Code Online (Sandbox Code Playgroud)
这是Sublime Text的构建.我在Windows上,ST2之外的所有CoffeeScript都能正常工作.
{
"cmd": ["cake", "sbuild"],
"path": "C:\\Users\\Me\\AppData\\Roaming\\npm",
"selector": "source.coffee",
"working_dir": "$project_path"
}
Run Code Online (Sandbox Code Playgroud)
路径给出正确的值.蛋糕脚本在那里.那么问题出在哪里?