0
我安装的CoffeeScript和CoffeeLint以下列方式:VIM咖啡脚本不起作用
# .bashrc
export NODE_MODULES=/home/uqmlore1/apps/node_modules
$ npm install --prefix /home/uqmlore1/apps/node_modules -g coffee-script
$ coffee -v
CoffeeScript version 1.6.3
$ npm install --prefix /home/uqmlore1/apps/node_modules -g coffeelint
$ coffeelint
bash: coffeelint: command not found
$ ls ~/apps/node_modules/lib/node_modules/coffeelint/bin
coffeelint
比我安装vim-coffee-script plugin与vundle。然而,我无法从Vim编译CoffeeLint的作品。这是我用于CoffeeScript的.vimrc。我做错了什么?
你做错了什么是问这里,而不是插件的问题跟踪。而且很明显,coffeelint没有安装,所以如果您遵循的安装程序是推荐的安装程序,那么您也必须询问coffeelint的问题跟踪器。 – romainl
谢谢,我发布在这里:https://github.com/kchmck/vim-coffee-script/issues/147,https://github.com/clutchski/coffeelint/issues/170 – user977828