Open JulianNorton opened 11 years ago
I have the same issue. This is a path related problem, but I don't know how to fix it.
Each time I run the command the displayed path gets bigger and bigger, just like in @JulianNorton's paste.
I did that change (in #27 ) ($ outside the bracket, but within the quote), I also did the change in LESS.sublime-build.
Still getting the following error:
[Errno 2] No such file or directory [cmd: [u'lessc', u'/Applications/MAMP/htdocs/bootstrap/static/css/bootstrap/variables.less', u'/Applications/MAMP/htdocs/bootstrap/static/css/bootstrap/variables.css', u'--verbose']] [dir: /Applications/MAMP/htdocs/bootstrap/static/css/bootstrap] [path: /usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$HOME/bin] [Finished]
The url does grow as Pym pointed out.
Have you made sure to install node-less? sudo apt-get install node-less, for Ubuntu/Mac.
Where can I install node-less? I Tried googling. Do I have to have node.js installed?
I apologize, I forgot I had to use a different method on my Mac, please try the following:
Install Homebrew: ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
Install node with Homebrew (this should also install NPM): brew install node
Install less: npm install -g less
I'm not quite sure hot to get this working. I've installed it and get the following error when building. How can I get this to compile a css file?
[Errno 2] No such file or directory [cmd: [u'lessc', u'/Users/disk/Desktop/tester/untitled222.less', u'/Users/disk/Desktop/tester/untitled222.css', u'--verbose']] [dir: /Users/disk/Desktop/tester] [path: /usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$HOME/bin] [Finished]
I've changed my .sh file, pasted below.
!/bin/bash
PS3='Normal' options=("Normal" "Directory Rewrite" "Quit") select opt in "${options[@]}" do case $opt in "Normal") rm LESS.sublime-build ln -s LESS-normal.sublime-build-choice LESS.sublime-build break; ;; "Directory Rewrite") rm LESS.sublime-build ln -s LESS-rewriteDir.sublime-build-choice LESS.sublime-build break; ;; "Quit") break ;; *) echo invalid option;; esac done