Problems with CSSLint

Aug 11, 2011 at 12:58 PM

We are getting the following error in VS2010SP1 with a brand new MVC3 project -

 

CSSLintEngine -- c:\research\MvcApplication1\Content\themes\base\jquery.ui.theme.css
CSSLintEngine -- c:\research\MvcApplication1\Content\themes\base\jquery.ui.tabs.css
CSSLintEngine -- c:\research\MvcApplication1\Content\themes\base\jquery.ui.slider.css
CSSLintEngine -- c:\research\MvcApplication1\Content\themes\base\jquery.ui.selectable.css
CSSLintEngine -- c:\research\MvcApplication1\Content\themes\base\jquery.ui.resizable.css
CSSLintEngine -- c:\research\MvcApplication1\Content\themes\base\jquery.ui.progressbar.css
CSSLintEngine -- c:\research\MvcApplication1\Content\themes\base\jquery.ui.dialog.css
CSSLintEngine -- c:\research\MvcApplication1\Content\themes\base\jquery.ui.datepicker.css
Error: Jurassic.JavaScriptException: ReferenceError: CSSLint is not defined
   at global_(ScriptEngine , Scope , Object )
   at Jurassic.Compiler.GlobalMethodGenerator.Execute()
   at Jurassic.ScriptEngine.Execute(ScriptSource source)
   at Jurassic.ScriptEngine.Execute(String code)
   at UglifyCS.Environment.Run(String script, Expression`1[] vars)
   at UglifyCS.CSSLint.CSSLINT(String source, options options)
   at Zippy.Chirp.Engines.CSSLintEngine.Run(String fullFileName, ProjectItem projectItem)
   at Zippy.Chirp.Engines.EngineManager.Process(ProjectItem projectItem)
CSSLintEngine -- c:\research\MvcApplication1\Content\themes\base\jquery.ui.core.css
CSSLintEngine -- c:\research\MvcApplication1\Content\themes\base\jquery.ui.button.css
CSSLintEngine -- c:\research\MvcApplication1\Content\themes\base\jquery.ui.base.css
CSSLintEngine -- c:\research\MvcApplication1\Content\themes\base\jquery.ui.autocomplete.css
CSSLintEngine -- c:\research\MvcApplication1\Content\themes\base\jquery.ui.all.css
CSSLintEngine -- c:\research\MvcApplication1\Content\themes\base\jquery.ui.accordion.css

 

Any suggestions as to how to correct?

Sep 22, 2011 at 2:28 PM

I am also having issues with the same error in VS2010SP1 with a MVC2 project

LessEngine -- C:\Web\Content\styles.chirp.less.css
CSSLintEngine -- C:\Web\Content\styles.chirp.less.css
Error: Jurassic.JavaScriptException: ReferenceError: CSSLint is not defined
    at global_(ScriptEngine , Scope , Object )
   at Jurassic.Compiler.GlobalMethodGenerator.Execute()
   at Jurassic.ScriptEngine.Execute(ScriptSource source)
   at Jurassic.ScriptEngine.Execute(String code)
   at UglifyCS.Environment.Run(String script, Expression`1[] vars)
   at UglifyCS.CSSLint.CSSLINT(String source, options options)
   at Zippy.Chirp.Engines.CSSLintEngine.Run(String fullFileName, ProjectItem projectItem)
   at Zippy.Chirp.Engines.EngineManager.Process(ProjectItem projectItem)
ConfigEngine -- C:\Web\Content\styles.chirp.config

Any thoughts?

Developer
Oct 8, 2011 at 1:32 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.