Git Product home page Git Product logo

Comments (3)

mark-walle avatar mark-walle commented on June 18, 2024

I just changed to 4.4.1 in order to complete the workshop, but maybe how-to-npm should allow pre-releases to pass, or give explicit directions to not use pre-release versions.

from how-to-npm.

watilde avatar watilde commented on June 18, 2024

thanks for reporting this! I think it's just a logic bug in a code:
https://github.com/workshopper/how-to-npm/blob/master/problems/00-install-npm/index.js#L53

I'm gonna fix it.

from how-to-npm.

myintmyatkyu avatar myintmyatkyu commented on June 18, 2024

Hi I got this error when I run how-to-npm verify at "00 install npm" exercise
I have passed all other exercises except this one. Thanks

how-to-npm verify
verifying that npm is installed...
You have version 6.0.1 installed. Great!
Now let's see what the latest version is... wait for it...
The latest npm is:
/home/ec2-user/.nvm/versions/node/v6.14.1/lib/node_modules/how-to-npm/node_modules/semver/semver.js:295
throw new TypeError('Invalid Version: ' + version);
^

TypeError: Invalid Version:
at new SemVer (/home/ec2-user/.nvm/versions/node/v6.14.1/lib/node_modules/how-to-npm/node_modules/semver/semver.js:295:11)
at compare (/home/ec2-user/.nvm/versions/node/v6.14.1/lib/node_modules/how-to-npm/node_modules/semver/semver.js:571:10)
at Function.gt (/home/ec2-user/.nvm/versions/node/v6.14.1/lib/node_modules/how-to-npm/node_modules/semver/semver.js:600:10)
at /home/ec2-user/.nvm/versions/node/v6.14.1/lib/node_modules/how-to-npm/problems/00-install-npm/index.js:53:18
at ChildProcess.exithandler (child_process.js:190:7)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:920:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)

from how-to-npm.

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.