title: Can someone help me resolve this problem? Fatal error: Unable to find local grunt
body: <p>I am learning hybris and I started using smartedit. The problem is that when I run <code>ant clean all</code> or <code>ant updatesystem</code> I get this error.</p>
  <pre><code>Running grunt default
  grunt-cli: The grunt command line interface (v1.3.2)
  
  Fatal error: Unable to find local grunt.
  
  If you're seeing this message, grunt hasn't been installed locally to
  your project. For more information about installing and configuring grunt,
  please see the Getting Started guide:
  
  https://gruntjs.com/getting-started
  </code></pre>
  <p><strong>What have I done till now:</strong></p>
  <p>I have grunt-cli installed globally, and grunt installed locally. Also, I run <code>npm install</code>.</p>
  <p>Here is my packege.json file:</p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;name&quot;: &quot;name&quot;,
    &quot;version&quot;: &quot;1.0.0&quot;,
    &quot;main&quot;: &quot;index.js&quot;,
    &quot;directories&quot;: {
      &quot;lib&quot;: &quot;lib&quot;
    },
    &quot;scripts&quot;: {
      &quot;test&quot;: &quot;echo \&quot;Error: no test specified\&quot; &amp;&amp; exit 1&quot;
    },
    &quot;author&quot;: &quot;&quot;,
    &quot;license&quot;: &quot;ISC&quot;,
    &quot;devDependencies&quot;: {
      &quot;grunt&quot;: &quot;^1.4.1&quot;,
      &quot;grunt-contrib-jshint&quot;: &quot;^3.0.0&quot;,
      &quot;grunt-contrib-watch&quot;: &quot;^1.1.0&quot;
    },
    &quot;dependencies&quot;: {},
    &quot;description&quot;: &quot;desc&quot;
  }
  </code></pre>
  <p>Here is my Gruntfile.js:</p>
  <pre class="lang-js prettyprint-override"><code>module.exports = function(grunt) {
  
    grunt.initConfig({
      jshint: {
        files: ['Gruntfile.js', 'src/**/*.js', 'test/**/*.js'],
        options: {
          globals: {
            jQuery: true
          }
        }
      },
      watch: {
        files: ['&lt;%= jshint.files %&gt;'],
        tasks: ['jshint']
      }
    });
  
    grunt.loadNpmTasks('grunt-contrib-jshint');
    grunt.loadNpmTasks('grunt-contrib-watch');
  
    grunt.registerTask('default', ['jshint']);
  
  };
  </code></pre>
  <p>I tried a bunch of ways to resolve this problem but nothing seemed to work. Can someone help me out?</p>