-
Notifications
You must be signed in to change notification settings - Fork 435
io.js fails on copying extracted folder #275
Comments
There is no log as it never errors out and every version after 1.0.1 |
Same on Windows with
and stays frozen forever... |
I filed a bug against ncp for this AvianFlu/ncp#79 |
I have imported |
merged @corbinu 's PR and released an npm package as 1.9.14 |
The PR has been rolled back, because we were getting reports of it breaking things. see #279 for more information. It appears that fs-extra has its own set of problems. The fs.move claims to complete successfully, but the fs.chmod claims the moved file doesn't exist. fs-extra adds a lot of hooks into both these methods, and it is unclear which one is lying. I didn't spend a lot of time looking into it. |
Is this project on Travis CI I see the yml file but not seeing it on travis obviously want to get to the bottom of this |
yep, looking at the travis ci build right now |
OK, here's a travis run of the fs-extra changes: https://travis-ci.org/Medium/phantomjs/jobs/48503467 |
no thats your rollback... I am going to add my fork with the changes to travis also |
an alternative solution might be to just fork ncp, because they do not seem interested in fixing their package. |
True that is your call |
Are you still supporting Node 0.6 and 0.8 given they are in the .travis? |
travis ci has been in this weird state lately where you can specify node 0.6 and 0.8, but the version of npm they have installed by default is incompatible with 0.8 due to the semver changes. There's some incantation to tell it to use the right npm version, but for now, I just removed them. |
Builds fine for me to :/ weird https://travis-ci.org/corbinu/phantomjs |
I also tried installing v0.10.33 on my Ubuntu 14.04 server and then installing. I can't replicate the issue |
If anyone can help me reproduce the problems, that'd be incredibly helpful. |
I'm able to repro, and am trying to narrow it down to a nice repro case. I'm pretty sure it's related to fs.move across devices. |
filed as jprichardson/node-fs-extra#108 |
I fixed jprichardson/node-fs-extra#108 and published |
ok, released as v1.9.15 |
As a workaround for this issue: Medium/phantomjs#275
We need to have phantoms 1.9.15 as a minimum to work around this bug: Medium/phantomjs#275
Reported by @corbinu in this comment:
#271 (comment)
'Copying extracted folder /var/folders/pt/_mpbrdv90p3741h3xyt253pw0000gn/T/phantomjs/phantomjs-1.9.8-macosx.zip-extract-1421713554555/phantomjs-1.9.8-macosx -> /Users/corbinu/Developer/tests/node_modules/phantomjs/lib/phantom'
@corbinu can you post more complete repro steps, most notably (1) the complete log, and (2) the version of io.js that you're using?
The text was updated successfully, but these errors were encountered: