grunt-casperjs
grunt-casperjs copied to clipboard
Error installing using npm on OSX mavericks
When I tried installing the newer version of grunt-casperjs (1.4.0) using npm, I get the below error:
Casperjs not installed. Installing. Receiving 0K...
/Users/peter/Sites/node_modules/grunt-casperjs/node_modules/adm-zip/zipFile.js:66 throw Utils.Errors.INVALID_FORMAT; ^ Invalid or unsupported zip format. No END header found ...
In my package file I have: "dependencies": { ... "grunt-casperjs": "~1.4.0", ... }
So nothing fancy. Any ideas?
Same issue observed occasionally on Ubuntu 13.10.
On my ubuntu 12.04 I solved this by running first:
sudo npm -g install casperjs
I have the same issue on Windows 7 Ultimate.
node -v v0.10.26 npm -v 1.4.3
This is still happening randomly on grunt-casperjs 1.4.0 on Linux boxes. Any ideas on how to fix it? Thanks!