我瀏覽和安裝下列包建立在崇高的文本2減 - 建造 - Mac OS X的
https://github.com/berfarah/LESS-build-sublime/blob/master/readme.md
我已經創建了一個名爲style.less並插入下面的代碼(只是爲了實驗)
@bgcolor: red;
body {
background: @bgcolor;
}
保存文件,然後打命令+ b打造較少文件之後。
我期待一個style.css文件時,我打命令+ B
而是要創造,我得到的控制檯上一條消息說:
[Errno 2] No such file or directory [cmd: [u'lessc', u'/Users/staff/Desktop/site/day2/css/style.less', u'/Users/staff/Desktop/site/day2/css/style.css', u'--verbose']] [dir: /Users/staff/Desktop/
paperbusiness
/day2/css] [path: /usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin] [Finished]
我能怎麼做錯誤?
是不是我需要的軟件包在做/ LESS建造/ changeLESSBuildType.sh
它包含:
#!/bin/bash
PS3='Please enter your choice: '
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
感謝您閱讀此。非常感謝:)
沒有確切的指示。 Git this error:[Errno 2] No such file or directory [cmd:[u'lessc',u'/ Users/kennethjaysone/Desktop/test.less',u'/ Users/kennethjaysone/Desktop/test.css' ,'u' - verbose']] [dir:/ Users/kennethjaysone/Desktop] [path:/ usr/local/bin:/ usr/bin:/ bin:/ usr/sbin:/ sbin] [已完成] – arkhamDev 2013-05-14 09:36:11