I’ve been using Roots for a while without Grunt–manually making changes to app.css and the .less files (compiling via CodeKit). But with the new build, it looks like I need to use Grunt and I’m stuck trying to get it installed.
I’m on a mac and installed node.js
Then in terminal typed:
sudo npm install -g grunt-cli
It ran a bunch of stuff and seemed to install fine. No errors.
The next instruction in Roots 101 is to “install the dependencies for Roots contained in package.json:”
So I in terminal I typed:
But got the following errors:
npm ERR! install Couldn't read dependencies npm ERR! Error: ENOENT, open '/Users/xyz/package.json'
What am I missing here? And once installed, how do I invoke Grunt? Always from within terminal? I’m totally baffled. A down and dirty screencast of this might be helpful…