title: Gitlab CI Failed: NPM command not found
body: <p>I have been playing around Gitlabl CI but for some reason I can't get my tests to "passed". It always says <code>npm: command not found</code></p>
  
  <p>My Gitlab CI config looks like this:</p>
  
  <pre><code>image: node:latest
  # This folder is cached between builds
  # http://docs.gitlab.com/ce/ci/yaml/README.html#cache
  cache:
    paths:
      - node_modules/
  
  before_script:
    - npm install
    - npm install eslint -g
    - npm install eslint-plugin-react -g
    - npm install babel-eslint -g
  
  test:lint:
    script:
      - eslint src/*
  </code></pre>
  
  <p>I keep getting the error below and I have No Idea why:
  <a href="https://i.stack.imgur.com/mNlrP.png" rel="noreferrer"><img src="https://i.stack.imgur.com/mNlrP.png" alt="enter image description here"></a></p>
  
  <p>By the way, Im NOT using the gitlab shared runner. Not sure if that contributes to the problem but just to make sure, the machine that has my gitlab runner has all the necessary packages to run nodejs.</p>
  
  <p>Your help is greatly appreciated</p>
  
  <p>Best regards,</p>