grunt-casperjs icon indicating copy to clipboard operation
grunt-casperjs copied to clipboard

Error installing using npm on OSX mavericks

Open ghost opened this issue 11 years ago • 4 comments

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?

ghost avatar Dec 16 '13 12:12 ghost

Same issue observed occasionally on Ubuntu 13.10.

ruudud avatar Mar 25 '14 10:03 ruudud

On my ubuntu 12.04 I solved this by running first:

sudo npm -g install casperjs 

cheets avatar Apr 11 '14 11:04 cheets

I have the same issue on Windows 7 Ultimate.

node -v v0.10.26 npm -v 1.4.3

romamatusevich avatar Apr 24 '14 14:04 romamatusevich

This is still happening randomly on grunt-casperjs 1.4.0 on Linux boxes. Any ideas on how to fix it? Thanks!

knorrium avatar Sep 26 '14 15:09 knorrium