Closed kuxiongxiong closed 12 years ago
Hey, thanks, looking into it.
Please update the plugin and let me know if the problem is fixed.
if there have some comiple errors, can give the error info such as: line number..like simpLESS tools thanks
sublime version:build 2183
It seems I accidentally applied the path to Windows as well, negligence on my part (I'm new at this), that should've caused the error. Generally, error messages will be verbose, and tell you what line they are on. However, Error 2 refers to "File Not Found", and I think I fixed that, let me know if the problem persists.
I reinstalled this plugin by Package Control , CTR+B ,have the same error: [Error 2] [Finished] shall I reinstall by manual?
I'll look into it, sorry about the inconvenience
Bernardo Farah Sent from my mobile On Mar 7, 2012 2:54 AM, "feiqiao" < reply@reply.github.com> wrote:
I reinstalled this plugin by Package Control , CTR+B ,have the same error: [Error 2] [Finished] shall I reinstall by manual?
Reply to this email directly or view it on GitHub:
https://github.com/berfarah/LESS-build-sublime/issues/1#issuecomment-4361340
can command palette info help? Running dotless.Compiler.exe -m F:\web\php\new\themes\default\css\reg.less Running dotless.Compiler.exe -m F:\web\php\new\themes\default\css\index.less Running dotless.Compiler.exe -m F:\web\php\new\themes\default\css\index.less
it seems the reason is file path I copy the less file"index.less" to the LESS-build folder(\Sublime Text 2\Packages\LESS-build).it works [Compile] C:\Documents and Settings\yang\Application Data\Sublime Text 2\Packages\LESS-build\index.less -> C:\Documents and Settings\yang\Application Data\Sublime Text 2\Packages\LESS-build\index.css [Done] [Finished] I think this info will be userful for you debug,thanks ~
I fixed the problem by add the path"C:\Documents and Settings\yang\Application Data\Sublime Text 2\Packages\LESS-build" to the xp Environment Variables PATH
Hey, thanks for looking into that. I suspected it was a path related issue, and I'll implement a more sustainable solution (i.e. link to the plugin folder) later this week.
If you edit the LESS.sublime-build file to
"windows": { "cmd": ["dotless.Compiler.exe", "$file"], "path": "${packages}/LESS-build-sublime" }
Does it work?
sorry.I remove the xp Environment Variables PATH I added "C:\Documents and Settings\yang\Application Data\Sublime Text 2\Packages\LESS-build", and added "path": "${packages}/LESS-build-sublime" to LESS.sublime-build file it doesn't work~
Sorry, so your package directory is LESS-build instead of LESS-build-sublime?
sorry,my directory is LESS-build ,I corrected it. "windows": { "cmd": ["dotless.Compiler.exe", "$file"], "path": "${packages}/LESS-build" } error remains: [Error 2] [Finished]
That makes me a sad panda :( I had only tested in Windows 7, and it seemed to work there - will document your solution to get it to work in XP. Thank you for being so thorough and indulging me in my testing.
Reproduced on Win7, looking for a fix, eta sometime this week
I waiting your update...
I have the same problem on Windows 7 and found a temporary solution: "windows": { "cmd": ["dotless.Compiler.exe", "$file"], "path": "%APPDATA%\Sublime Text 2\Packages\LESS-build" }
Sorry, I've had some personal issues I had to attend to this past week, and I'll be looking into a more flexible solution. In the meantime, I can add @cyreb7's solution as it definitely will work on Windows (but doesn't account for Sublime Text structure changes)
I've implemented a temporary fix (suggested by @cyreb7 ) and would love input on what I commented out - I feel like it should work and I'm missing something.
can give the deatils of error?