ronaldlokers / grunt-casperjs

Grunt task for casperjs
MIT License
104 stars 51 forks source link

Error when installing via npm on Windows 8 #45

Open kyleect opened 10 years ago

kyleect commented 10 years ago

I'm getting an error when running npm install grunt-casperjs. That command outputs this error:

image

I am able to install other npm packages without error. Please see the log output below. I truncated to the end with the error as github has character limit.

1967 info install grunt-casperjs@1.4.0
1968 verbose unsafe-perm in lifecycle true
1969 info grunt-casperjs@1.4.0 Failed to exec install script
1970 info c:\Users\kylee\dev\ZentiCasperTests\node_modules\grunt-casperjs unbuild
1971 info preuninstall grunt-casperjs@1.4.0
1972 info uninstall grunt-casperjs@1.4.0
1973 verbose true,c:\Users\kylee\dev\ZentiCasperTests\node_modules,c:\Users\kylee\dev\ZentiCasperTests\node_modules unbuild grunt-casperjs@1.4.0
1974 info postuninstall grunt-casperjs@1.4.0
1975 error grunt-casperjs@1.4.0 install: `node install.js`
1975 error Exit status 8
1976 error Failed at the grunt-casperjs@1.4.0 install script.
1976 error This is most likely a problem with the grunt-casperjs package,
1976 error not with npm itself.
1976 error Tell the author that this fails on your system:
1976 error     node install.js
1976 error You can get their info via:
1976 error     npm owner ls grunt-casperjs
1976 error There is likely additional logging output above.
1977 error System Windows_NT 6.2.9200
1978 error command "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "grunt-casperjs" "--save"
1979 error cwd c:\Users\kylee\dev\ZentiCasperTests
1980 error node -v v0.10.22
1981 error npm -v 1.3.14
1982 error code ELIFECYCLE
1983 verbose exit [ 1, true ]
NathanGloyn commented 10 years ago

I'm having the same problem.

I also noticed that the install said Casperjs wasn't installed and the error occured whilst attempting to install Casper. Thing is that I have Casper already installed and it never picked it up.

Any idea on a fix?