title: "Fatal error: Unable to find local grunt." on windows7 professional
body: <p>f I want to start <strong><em>grunt</em></strong>, I get the following message:</p>
  
  <pre><code>c:\repositories\kunde_1\themes-projekt_1\projekt_1-responsive\source&gt;grunt
  grunt-cli: The grunt command line interface. (v0.1.13)
  
  Fatal error: Unable to find local grunt.
  
  If you're seeing this message, either a Gruntfile wasn't found or grunt
  hasn't been installed locally to your project. For more information about
  installing and configuring grunt, please see the Getting Started guide:
  
  http://gruntjs.com/getting-started
  </code></pre>
  
  <p>When running grunt you will see:</p>
  
  <pre><code>C:\Users\dev_user&gt;npm install -g grunt-cli
  npm http GET https://registry.npmjs.org/grunt-cli
  npm http 304 https://registry.npmjs.org/grunt-cli
  npm http GET https://registry.npmjs.org/nopt
  npm http GET https://registry.npmjs.org/findup-sync
  npm http GET https://registry.npmjs.org/resolve
  npm http 304 https://registry.npmjs.org/nopt
  npm http 304 https://registry.npmjs.org/findup-sync
  npm http 304 https://registry.npmjs.org/resolve
  npm http GET https://registry.npmjs.org/abbrev
  npm http GET https://registry.npmjs.org/glob
  npm http GET https://registry.npmjs.org/lodash
  npm http 304 https://registry.npmjs.org/abbrev
  npm http 304 https://registry.npmjs.org/glob
  npm http 304 https://registry.npmjs.org/lodash
  npm http GET https://registry.npmjs.org/inherits
  npm http GET https://registry.npmjs.org/minimatch
  npm http 304 https://registry.npmjs.org/inherits
  npm http 304 https://registry.npmjs.org/minimatch
  npm http GET https://registry.npmjs.org/lru-cache
  npm http GET https://registry.npmjs.org/sigmund
  npm http 304 https://registry.npmjs.org/lru-cache
  npm http 304 https://registry.npmjs.org/sigmund
  C:\Users\dev_user\AppData\Roaming\npm\grunt -&gt; C:\Users\dev_user\AppData\Roaming\npm\node_modules\grunt-cli\bin\grunt
  grunt-cli@0.1.13 C:\Users\dev_user\AppData\Roaming\npm\node_modules\grunt-cli
  +-- nopt@1.0.10 (abbrev@1.0.7)
  +-- resolve@0.3.1
  +-- findup-sync@0.1.3 (lodash@2.4.2, glob@3.2.11)
  </code></pre>
  
  <p>Entering grunt in user directory:</p>
  
  <pre><code>C:\Users\dev_user&gt;grunt
  grunt-cli: The grunt command line interface. (v0.1.13)
  
  Fatal error: Unable to find local grunt.
  
  If you're seeing this message, either a Gruntfile wasn't found or grunt
  hasn't been installed locally to your project. For more information about
  installing and configuring grunt, please see the Getting Started guide:
  
  http://gruntjs.com/getting-started
  </code></pre>
  
  <p>But the same message comes when I enter the project directory!</p>
  
  <blockquote>
    <p>operating system: windows 7 Professional<br>
    npm -version: 1.3.5  <br>
    node --version: v0.10.15<br></p>
  </blockquote>
  
  <pre><code>C:\Users\dev_user&gt;npm ls -g
  C:\Users\dev_user\AppData\Roaming\npm
  +-- coffee-script@1.9.3
  +-- grunt-cli@0.1.13
    +-- findup-sync@0.1.3
    ¦ +-- glob@3.2.11
    ¦ ¦ +-- inherits@2.0.1
    ¦ ¦ +-- minimatch@0.3.0
    ¦ ¦   +-- lru-cache@2.6.5
    ¦ ¦   +-- sigmund@1.0.1
    ¦ +-- lodash@2.4.2
    +-- nopt@1.0.10
    ¦ +-- abbrev@1.0.7
    +-- resolve@0.3.1
  </code></pre>
  
  <p>The environment variable I have set:</p>
  
  <p>Name of variable: <strong>grunt</strong>
  Path: <code>C:\Users\dev_user\AppData\Roaming\npm\grunt</code>
  then launched new computer</p>
  
  <p>Does anyone have an idea why the message <em>Fatal error: Unable to find local grunt.</em> coming?</p>