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

Prefer node 4.x, npm 2.x in development #495

Closed
wants to merge 2 commits into from
Closed

Prefer node 4.x, npm 2.x in development #495

wants to merge 2 commits into from

Conversation

wincent
Copy link
Contributor

@wincent wincent commented Oct 20, 2015

At the moment, our test suite won't run properly under npm 3.x, so let's
specify our requirement in the package.json.

Once npm 3.x goes "final" we'll make sure that we support both. In the
meantime, this will prevent developers running the tests from seeing
spurious failures like the ones reported here when using npm 3:

#396

Tested by installing npm 3, then running npm install, and seeing the
expected error from the check-dev-engines.js script:

AssertionError: Current npm version is not supported for
development, expected "3.0.0" to satisfy "2.x".

At the moment, our test suite won't run properly under npm 3.x, so let's
specify our requirement in the package.json.

Once npm 3.x goes "final" we'll make sure that we support both. In the
meantime, this will prevent developers running the tests from seeing
spurious failures like the ones reported here when using npm 3:

#396

Tested by installing npm 3, then running `npm install`, and seeing the
expected error from the `check-dev-engines.js` script:

    AssertionError: Current npm version is not supported for
    development, expected "3.0.0" to satisfy "2.x".
Kept this out of ae02584 in order to keep it easy to read.
@zpao
Copy link
Member

zpao commented Oct 20, 2015

👍

@wincent
Copy link
Contributor Author

wincent commented Oct 20, 2015

@facebook-github-bot import

@facebook-github-bot
Copy link
Contributor

Thanks for importing. If you are an FB employee go to https://our.intern.facebook.com/intern/opensource/github/pull_request/329483780508680/int_phab to review.

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

Successfully merging this pull request may close these issues.

3 participants