node.js - could not able to install npm in ubuntu 16.04.2 -


enter image description here

"could not able install following components in ubuntu 16.04.2 version of linux box getting error attached screen shot " trying install npm components in linux box getting killed in middle

{   "name": "legaldialapis",   "version": "1.0.0",   "scripts": {     "start": "set node_env=dev",     "test": "mocha apis/**/test/**/*.spec.js",     "test-watch": "nodemon --exec npm test",     "code-cov": "nyc --reporter=lcov --reporter=text-lcov npm test",     "eslint": "eslint **/*.js > lint-report.txt",     "bump": "gulp bump"   },   "dependencies": {     "ajv": "^4.9.2",     "ajv-error-messages": "^1.0.0",     "async": "^2.1.4",     "bcryptjs": "^2.4.3",     "body-parser": "~1.15.2",     "bunyan": "^1.8.5",     "cookie-parser": "~1.4.3",     "dateformat": "^2.0.0",     "debug": "~2.2.0",     "express": "~4.14.0",     "firebase": "^3.7.2",     "firebase-admin": "^4.1.3",     "json2yaml": "^1.1.0",     "jsonwebtoken": "^7.2.1",     "lodash": "^4.17.4",     "moment": "^2.17.1",     "mongodb": "^2.2.22",     "mongoose": "^4.8.1",     "mongoose-gen": "^2.1.1",     "request": "^2.79.0",     "serve-favicon": "~2.3.0",     "swagger-jsdoc": "^1.8.2",     "swagger-ui-express": "^1.0.2",     "validator": "^6.2.1",     "html-pdf": "2.1.0"   },   "devdependencies": {     "chai": "^3.5.0",     "chai-http": "^3.0.0",     "del": "^2.2.2",     "eslint": "^3.14.1",     "eslint-config-google": "^0.7.1",     "gulp-bump": "^2.6.1",     "mocha": "^3.2.0",     "nyc": "^10.0.0",     "yargs": "^6.6.0",     "gulp": "^3.9.1",     "gulp-livereload": "^3.8.1",     "gulp-mocha": "^3.0.1",     "gulp-nodemon": "^2.2.1",     "gulp-folders": "^1.1.0",     "gulp-replace": "^0.5.4",         "gulp-util": "^3.0.8"       },       "engines": {         "node": ">=0.10.0"        }     } 

wellm, error message says it: graceful-fs in verison 3 , older not compatible nodejs version 7 , above. 2 options have are

  • search dependencies 1 depends on graceful-fs , see if can update (see error message: "use npm ls graceful-fs find in tree.")
  • check wheter current lts version of nodejs 6.10.x supported dependencies

if have not complete overview, whether dependencies date, can run npm outdated.

hope helps.


probably general remark question:

  • it great see console output in post; not screen shot, text copy/paste
  • this looks prob node and/or npm. version both 'd helpful

Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -