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

fs.copy hangs on iojs #105

Closed
mgol opened this issue Jan 19, 2015 · 5 comments
Closed

fs.copy hangs on iojs #105

mgol opened this issue Jan 19, 2015 · 5 comments

Comments

@mgol
Copy link

mgol commented Jan 19, 2015

Steps to reproduce:

  1. git clone [email protected]:mzgol/check-dependencies.git

  2. cd check-dependencies

  3. Create a file test.js with contents:

    var fs = require('fs-extra');
    
    var npmFixturesDir = __dirname + '/npm-fixtures',
        generatedDir = __dirname + '/bower-fixtures/generated';
    
    fs.copy(npmFixturesDir, generatedDir, function (error) {
        if (error) {
            throw error;
        } else {
            console.log('Success!');
        }
    });
  4. Run the following command in terminal:

    rm -rf test/bower-fixtures/generated && node test/spec.js 

It works fine on Node 0.10.35 & 0.11.14, it gets stuck indefinitely in io.js 1.0.2.

This is making the tests fail on io.js in my check-dependencies module.

fs-extra 0.14.0, OS X 10.10.1. I use Node & io.js via nvm.

@jprichardson
Copy link
Owner

It's because of ncp. I think there are some other issues related:
https://github.com/avianflu/ncp I'll look into it more. Thanks for
reporting.

On Mon, Jan 19, 2015 at 8:33 AM, Michał Gołębiowski <
[email protected]> wrote:

Steps to reproduce:

  1. git clone [email protected]:mzgol/check-dependencies.git

  2. cd check-dependencies
    3.

    Create a file test.js with contents:

    var fs = require('fs-extra');
    var npmFixturesDir = __dirname + '/npm-fixtures',
    generatedDir = __dirname + '/bower-fixtures/generated';

    fs.copy(npmFixturesDir, generatedDir, function (error) {if (error) {
    throw error;
    } else {
    console.log('Success!');
    }
    });

    Run the following command in terminal:

    rm -rf test/bower-fixtures/generated && node test/spec.js

It works fine on Node 0.10.35 & 0.11.14, it gets stuck indefinitely in
io.js 1.0.2.

This is making the tests fail on io.js in my check-dependencies module.


Reply to this email directly or view it on GitHub
#105.

Simple & Secure Bitcoin Wallet: https://www.coinbolt.com
Bitcoin / JavaScript: http://cryptocoinjs.com
Follow me on Twitter: http://twitter.com/jprichardson

@jprichardson
Copy link
Owner

Awaiting on this nvm-sh/nvm#616 When it gets pulled, I'll be able to download and test.

@mgol
Copy link
Author

mgol commented Jan 20, 2015

nvm 0.23.0 with io.js support is out :)

@jprichardson
Copy link
Owner

@mgol
Copy link
Author

mgol commented Jan 22, 2015

It works now, thanks!

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

No branches or pull requests

2 participants