Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/npm-cli.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/bin/npm-cli.js b/bin/npm-cli.js
index ef8873542..79ae7f50a 100755
--- a/bin/npm-cli.js
+++ b/bin/npm-cli.js
@@ -61,12 +61,6 @@ log.info("using", "node@%s", process.version)
// make sure that this version of node works with this version of npm.
var semver = require("semver")
, nodeVer = process.version
- , reqVer = npm.nodeVersionRequired
-if (reqVer && !semver.satisfies(nodeVer, reqVer)) {
- return errorHandler(new Error(
- "npm doesn't work with node " + nodeVer
- + "\nRequired: node@" + reqVer), true)
-}
process.on("uncaughtException", errorHandler)