Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't fail if './casperjs' symlink already exists. #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Don't fail if './casperjs' symlink already exists. #48

wants to merge 1 commit into from

Conversation

yjaaidi
Copy link

@yjaaidi yjaaidi commented Dec 22, 2013

This can also be fixed by checking if the file exists first or by overwriting the existing file if any.

@xsellier
Copy link

To reproduce this we have to do a simple 'npm rebuild', then we get following error:

fs.js:730
return binding.symlink(preprocessSymlinkDestination(destination, type),
^
Error: EEXIST, file already exists '/home/xsellier/work/tmp/node_modules/grunt-casperjs/lib/casperjs/casperjs-master/bin/casperjs'
at Object.fs.symlinkSync (fs.js:730:18)
at IncomingMessage.unzipTheZippedFile (/home/xsellier/work/tmp/node_modules/grunt-casperjs/install.js:49:12)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)

@jbelis
Copy link

jbelis commented Jun 11, 2014

Any plan on merging this in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants