Grunt command not found


#1

I am trying to install
node:
version: 6.10.2 with circle ci 1.0. I think it is installing the latest version but my build gets failed by error as grunt command not found,

These are the snippets in the package.json

"devDependencies": {
    "autoprefixer-core": "^5.2.1",
    "bower": "^1.3.12",
    "bower-installer": "^0.8.4",
    "grunt": "^0.4.5",
    "grunt-contrib-uglify": "^0.9.2",
    "grunt-contrib-watch": "^0.6.1",
    "grunt-phpunit": "^0.3.6",
    "grunt-postcss": "^0.5.5",
    "grunt-sass": "1.*",
    "grunt-shell": "^1.1.1",
    "jshint": "^2.5.6",
    "load-grunt-tasks": "^1.0.0",
    "requirejs": "2.1.*"
  },

From circle.yml

machine:
  php:
    version: 5.6.5
  node:
    version: 6.10.2

As I am getting an error for grunt I have added this in the circle.yml file

# Customize dependencies
dependencies:
  override:
    - npm install grunt --save-dev

Here is the error :slight_smile:

grunt shell:bower_scss
bash: line 1: grunt: command not found

grunt shell:bower_scss returned exit code 127

Action failed: grunt shell:bower_scss

But no luck still getting an error please help.


#2