0
我已經在mac os x mountain lion(10.8)中安裝了sublime text 2,並且插件sublime linter。對於CSS驗證,插件需要node.js.sublimelinter:問題與csslinter
當我開始崇高的文本,控制檯顯示此:
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)
它是如何能解決嗎?謝謝!
這個問題屬於sublimelinter的問題頁面上提供的csslint-的node.js:https://github.com/SublimeLinter/SublimeLinter/issues – BoundinCode 2012-07-30 17:24:31