Coder Social home page Coder Social logo

Comments (8)

RobJTingay avatar RobJTingay commented on April 26, 2024

In a similar vein I get an assertion exception using NPM 3.7.5 and Node 4.3.0

AssertionError: Current npm version is not supported for development, expected "3.7.5" to satisfy "2.x".
at /$HOME/draft-js/node_modules/fbjs-scripts/node/check-dev-engines.js:57:5

from draft-js.

taggon avatar taggon commented on April 26, 2024

In my case, just running gulp seems to build it successfully.

from draft-js.

 avatar commented on April 26, 2024

@taggon thank you. gulpbuild successfully

from draft-js.

ryantemple avatar ryantemple commented on April 26, 2024

Is there a hard dependency on a particular version of Node? I notice it failed with [email protected] as well. If things work fine then perhaps the version check should be relaxed?

from draft-js.

RobJTingay avatar RobJTingay commented on April 26, 2024

@taggon, you're completely correct. Running gulp builds the package just fine. Seems peculiar that there's such a strict Node/NPM version check. Works fine on 4.3.0-4.3.1(LTS) and 5.7.0(Stable) using NPM 3.7.5

from draft-js.

mitermayer avatar mitermayer commented on April 26, 2024

Also wondering why does the check for 4.x exists ? What are the current incompatibilities ? Are they listed anywhere that we could submit PR's ?

from draft-js.

zpao avatar zpao commented on April 26, 2024

The dependency on node 4 is not a hard dep. But npm 2 is so that we can run our tests. See #37 where we're going to make it so it's possible to build with npm3 but if you try to contribute and run tests you'll get stopped.

from draft-js.

hellendag avatar hellendag commented on April 26, 2024

I assume we're ok here?

from draft-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.