我已经在 mac os x mountain lion (10.8) 中安装了 sublime text 2,以及插件 sublime linter。对于 css 验证,插件需要 node.js。
当我启动 sublime text 时,控制台会显示:
ValueError: Error from csslint: /Users/carloslopez/Library/Application Support/Sublime Text 2/Packages/SublimeLinter/sublimelinter/modules/libs/csslint/linter.js:23
var report = CSSLint.verify(code, ruleset);
^
TypeError: Cannot call method 'verify' of undefined
at Object.exports.lint (/Users/carloslopez/Library/Application Support/Sublime Text 2/Packages/SublimeLinter/sublimelinter/modules/libs/csslint/linter.js:23:26)
at Socket.<anonymous> (/Users/carloslopez/Library/Application Support/Sublime Text 2/Packages/SublimeLinter/sublimelinter/modules/libs/jsengines/node.js:31:31)
at Socket.EventEmitter.emit (events.js:85:17)
at Pipe.onread (net.js:424:51)
如何解决?谢谢!