Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Installing grunt and PhantomJS
Clone this wiki locally
- Test that grunt is installed globally by running
grunt --versionat the command-line.
- If grunt isn't installed globally, run
npm install -g grunt-clito install the latest version. You may need to run
sudo npm install -g grunt-cli.
In order for the qunit task to work properly, PhantomJS must be installed and in the system PATH (if you can run "phantomjs" at the command line, this task should work).
Unfortunately, PhantomJS cannot be installed automatically via npm or grunt, so you need to install it yourself. There are a number of ways to install PhantomJS.
Note that the
phantomjs executable needs to be in the system
PATH for grunt to see it.