Git Product home page Git Product logo

Comments (5)

davidguttman avatar davidguttman commented on July 20, 2024

Seems that the latest version doesn't like 0.8

npm install [email protected]
npm ERR! notsup Required: {"node":"~0.3.7 || 0.4 || 0.5 || 0.6 || 0.7"}
npm ERR! notsup Actual:   {"npm":"1.1.32","node":"0.8.0"}

from node-supervisor.

iangreenleaf avatar iangreenleaf commented on July 20, 2024

Yep, my bad. It didn't support 0.8 because 0.8 didn't exist until just recently. v0.3.6 is now released.

from node-supervisor.

MaxMem avatar MaxMem commented on July 20, 2024

It's still rejecting node 0.8.0 for me. Common practice seems to be only restricting older versions (">=0.3.7") or leave engines out entirely. Taking a chance on the latest node version is probably better than reverting to supervisor version 0.0.6!

PS C:> npm install -g [email protected]
npm http GET https://registry.npmjs.org/supervisor/0.3.6
npm http 304 https://registry.npmjs.org/supervisor/0.3.6
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Required: {"node":">=0.3.7 <=0.8"}
npm ERR! notsup Actual: {"npm":"1.1.32","node":"0.8.0"}

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js"
"install" "-g" "[email protected]"
npm ERR! cwd C:
npm ERR! node -v v0.8.0
npm ERR! npm -v 1.1.32
npm ERR! code ENOTSUP
npm ERR! message Unsupported
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\npm-debug.log
npm ERR! not ok code 0

from node-supervisor.

iangreenleaf avatar iangreenleaf commented on July 20, 2024

Ah, how silly of me. 0.4.1 should have an actually useful engine declaration.

My ideal behavior would be that npm refused to install any version until the compatibility is updated. It's only installing an old version because that very old package was published without an upper bound.

It's a fair point about leaving the top unbounded - maybe I'll either do that, or just unpublish the very old versions.

from node-supervisor.

iangreenleaf avatar iangreenleaf commented on July 20, 2024

Ok, more thought and this discussion convinced me to drop the upper limit.

from node-supervisor.

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.