velveteer / mithril-boilerplate

A quick starter for Mithril projects
MIT License
28 stars 3 forks source link

problem running the sample #3

Closed saniko closed 9 years ago

saniko commented 9 years ago

i get this error: probably something about " Throws error for non camel-case options."

$ gulp watch [14:19:32] Using gulpfile c:\projects\test\mithril_1\mithril-boilerplate\gulpfil e.js [14:19:32] Starting 'lint'... [14:19:33] 'lint' errored after 349 ms [14:19:33] TypeError: Object.keys called on non-object at Function.keys (native) at NodeConfiguration.Configuration._throwNonCamelCaseErrorIfNeeded (c:\proje cts\test\mithril_1\mithril-boilerplate\node_modules\gulp-jscs\node_modules\jscs\ lib\config\configuration.js:396:12) at NodeConfiguration.Configuration.load (c:\projects\test\mithril_1\mithril- boilerplate\node_modules\gulp-jscs\node_modules\jscs\lib\config\configuration.js :48:10) at StringChecker.configure (c:\projects\test\mithril_1\mithril-boilerplate\n ode_modules\gulp-jscs\node_modules\jscs\lib\string-checker.js:66:29) at Checker.configure (c:\projects\test\mithril_1\mithril-boilerplate\node_mo dules\gulp-jscs\node_modules\jscs\lib\checker.js:26:39) at module.exports (c:\projects\test\mithril_1\mithril-boilerplate\node_modul es\gulp-jscs\index.js:31:11) at Gulp. (c:\projects\test\mithril_1\mithril-boilerplate\gulp\tas ks\lint.js:11:15) at module.exports (c:\projects\test\mithril_1\mithril-boilerplate\node_modul es\gulp\node_modules\orchestrator\lib\runTask.js:34:7) at Gulp.Orchestrator._runTask (c:\projects\test\mithril_1\mithril-boilerplat e\node_modules\gulp\node_modules\orchestrator\index.js:273:3) at Gulp.Orchestrator._runStep (c:\projects\test\mithril_1\mithril-boilerplat e\node_modules\gulp\node_modules\orchestrator\index.js:214:10)

velveteer commented 9 years ago

@saniko

Hey, so the latest version of gulp-jscs now requires .jscsrc instead of .jscs.json. Rename your file and you should be good. I will be pushing up a fix shortly.