gridster-jekyll-theme
gridster-jekyll-theme copied to clipboard
npm install fails on Mac OS X El Capitan
trafficstars
After installing:
jekyll 2.5.3node v4.2.1Sass 3.4.19 (Selective Steve)grunt v0.4.5withgrunt-cli v0.1.13
on my mac, using the standard ruby installation
ruby 2.0.0p645 (2015-04-13 revision 50299) [universal.x86_64-darwin15]
that comes with the OS, npm install fails with:
npm ERR! Failed at the [email protected] install script 'node build.js'.
The problem are the dependencies in package.json. The dependencies:
"grunt-contrib-sass": "^0.8.1""grunt-sass": "^0.14.2"
are a way to to old for grunt v0.4.5. I changed them to:
"grunt-contrib-sass": "^0.9.2""grunt-sass": "^1.1.0"
and got at least npm install to work. I have to look further into using this jekyll theme ... as the grunt targets do not seem to work ...
Here is my version of package.json:
{
"name": "twister",
"version": "0.1.0",
"devDependencies": {
"grunt": "^0.4.5",
"grunt-autoprefixer": "^1.0.1",
"grunt-build-control": "^0.3.0",
"grunt-contrib-copy": "^0.8.0",
"grunt-contrib-imagemin": "^0.9.4",
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-nodeunit": "~0.4.1",
"grunt-contrib-sass": "^0.9.2",
"grunt-contrib-uglify": "^0.6.0",
"grunt-contrib-watch": "^0.6.1",
"grunt-newer": "^1.1.0",
"grunt-open": "^0.2.3",
"grunt-responsive-images": "^0.1.6",
"grunt-sass": "^1.1.0",
"grunt-shell": "^1.1.1"
}
}
+1, getting the same error
There is a missing dependency. Add
"load-grunt-tasks":` "^3.5.2"
and the grunt targets will be able to run.