Gulp Jscs - TypeError: Cannot convert undefined or null to object
<p>I wanted to use gulp-jscs in my project, so I've installed it according the <a href="https://github.com/jscs-dev/gulp-jscs" rel="nofollow noreferrer">documentation</a>:</p>

<pre><code>npm install --save-dev gulp-jscs
</code></pre>

<p>But when I try to run the gulp file, I'm getting this error:</p>

<pre><code>TypeError: Cannot convert undefined or null to object
    at Function.keys (native)
    at copyConfiguration (C:\Users\[User]\Desktop\[Project]\
    node_modules\jscs\lib\config\configuration.js:920:12)
</code></pre>

<p>Also, there are other errors related to this:</p>

<pre><code>at NodeConfiguration.Configuration.
_processConfig([location-path]\node_modules\jscs\lib\config\configuration.js:459:5)
    at NodeConfiguration.Configuration.load 
([location-path]\node_modules\jscs\lib\config\configuration.js:211:10)
    at null.StringChecker.configure 
([location-path]\node_modules\jscs\lib\string-checker.js:62:29)
    at null.Checker.configure ([location-path]\node_modules\jscs\lib\checker.js:27:39)
    at Object.module.exports ([location-path]\node_modules\gulp-jscs\index.js:35:10)
    at Gulp.&lt;anonymous&gt; ([location-path]\Gulpfile.js:60:17)
    at module.exports ([location-path]\node_modules\orchestrator\lib\runTask.js:34:7)
    at Gulp.Orchestrator._runTask ([location-path]\node_modules\orchestrator\index.js:273:3)
Process terminated with code 1.
</code></pre>