ronaldlokers / grunt-casperjs

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

EPERM, Error in Windows 8.1 #46

Open r0n22 opened 10 years ago

r0n22 commented 10 years ago

Getting the error EPERM, operation not permitted 'C:\Users\jcressatti\Desktop\Energy_Dashboard\Energy_DashBoard\node_modul es\grunt-casperjs\casperjs' from symlinking the casperjs executables.

PhantomJS is already installed at C:\Users\jcressatti\AppData\Roaming\npm\phantomjs.CMD.

> grunt-casperjs@1.4.0 install C:\Users\jcressatti\Desktop\Energy_Dashboard\Energy_DashBoard\node_modules\grunt
-casperjs
> node install.js

Casperjs version 1.1.0-beta3 installed at C:/Users/jcressatti/Desktop/Energy_Dashboard/Energy_DashBoard/node_mo
dules/casperjs

fs.js:730
  return binding.symlink(preprocessSymlinkDestination(destination, type),
                 ^
Error: EPERM, operation not permitted 'C:\Users\jcressatti\Desktop\Energy_Dashboard\Energy_DashBoard\node_modul
es\grunt-casperjs\casperjs'
    at Object.fs.symlinkSync (fs.js:730:18)
    at C:\Users\jcressatti\Desktop\Energy_Dashboard\Energy_DashBoard\node_modules\grunt-casperjs\install.js:33:
20
    at ChildProcess.exithandler (child_process.js:635:7)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:735:16)
    at Socket.<anonymous> (child_process.js:948:11)
    at Socket.EventEmitter.emit (events.js:95:17)
    at Pipe.close (net.js:466:12)
npm ERR! grunt-casperjs@1.4.0 install: `node install.js`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the grunt-casperjs@1.4.0 install script.
npm ERR! This is most likely a problem with the grunt-casperjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls grunt-casperjs
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\np
m-cli.js" "install"
npm ERR! cwd C:\Users\jcressatti\Desktop\Energy_Dashboard\Energy_DashBoard
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\Users\jcressatti\Desktop\Energy_Dashboard\Energy_DashBoard\npm-debug.log
npm ERR! not ok code 0
rictorres commented 10 years ago

I'm getting the same error on Windows 7.

blueLde commented 10 years ago

Also getting this Error on Win 8.1 64bit.

TechNickAI commented 10 years ago

We need some help fixing issues. Volunteers welcomed!

r0n22 commented 10 years ago

I have moved all my development over to Linux so I am not much help anymore, Sorry.

TechNickAI commented 10 years ago

Smart move! (linux)