Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do you install grunt-contrib-qunit in Ubuntu server 12.04 64?
    primarykey
    data
    text
    <p>I have a grunt project with the following npm dependancies:</p> <ul> <li>grunt-contrib-qunit</li> <li>grunt-contrib-compass</li> <li>grunt-contrib-jshint</li> </ul> <p>I created an Ubuntu 12.04 64 bit server in VirtualBox VM (from an Ubuntu host) and ran the following commands:</p> <pre><code>sudo apt-get update sudo apt-get install -y ruby rubygems gcc python make sudo gem install compass wget http://nodejs.org/dist/v0.10.15/node-v0.10.15.tar.gz tar -xzf node-v0.10.15.tar.gz cd node-v0.10.15/ ./configure make sudo make install cd ../ rm -Rf node-v0.10.1 rm node-v0.10.15.tar.gz sudo npm install -g grunt-cli </code></pre> <p>Supposedly that installed npm. Then I used git clone to clone a grunt project that I was using in CentOS (it all works in CentOS). Unfortunately when I ran grunt it failed when trying to run qunit with the following error:</p> <blockquote> <p>Running "qunit:dist" (qunit) task Testing /home/testuser/myproject/test/index.html OK</p> <p>Running PhantomJS...ERROR</p> <blockquote> <blockquote> <p>In order for this task to work properly, PhantomJS must be installed locally via NPM. If you're seeing this message, generally that means the NPM install has failed. Please submit an issue providing as much detail as possible at: <a href="https://github.com/gruntjs/grunt-lib-phantomjs/issues" rel="nofollow">https://github.com/gruntjs/grunt-lib-phantomjs/issues</a> Warning: PhantomJS not found. Use --force to continue.</p> </blockquote> </blockquote> <p>Aborted due to warnings.</p> </blockquote> <p>I even ran npm update from the grunt folder and it still has this error.</p> <p>What am I missing?</p> <p><em>edit</em> Please note the following facts:</p> <ol> <li>This project works in CentOS without error.</li> <li>This project has all of the plugin's installed locally using --save-dev</li> <li>Overwriting the local installs by installing each dependency manually does not fix this issue.</li> <li>Uninstalling and reinstalling each dependency manually does not fix this.</li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload