Sublime Text build: cannot find the file specified

前端 未结 3 1969
半阙折子戏
半阙折子戏 2021-01-03 09:04

I\'ve installed the CoffeeScript plugin via Package Control. When I try to build test.coffee it gives me this:

[Error 2] The system cannot find the file spec         


        
3条回答
  •  半阙折子戏
    2021-01-03 09:39

    Thanks for the help guys. I've finally found the problem.

    On Windows, instead of

    "cmd": ["cake", "sbuild"]
    

    it should be

    "cmd": ["cake.cmd", "sbuild"]
    

    Instead of modifying it just add:

    "windows":
    {
        "cmd": ["cake.cmd", "sbuild"]
    }
    

    That was subtle...

提交回复
热议问题