arboleya / electrify

Package your Meteor apps with Electron, and butter
MIT License
247 stars 52 forks source link

Cross link issue while using shell.js #35

Open gabrielstuff opened 8 years ago

gabrielstuff commented 8 years ago

Error: EXDEV, cross-device link not permitted

This happens because shell.js can't handle correctly the mv or cp operation from a disk to an other one. A solution consist in using :

var run=require('sync-runner');
run("mv '" + src + "' '" + thisDest + "'");

This has been proved to work. I'll pull request later.

neurobe commented 8 years ago

+1 Same issue On Mint Linux x64