'npm ERR! Windows_NT 6.2.9200 in sails application

Whenever i do npm install this is the error i am able to get. I am using node version 0.10.25 and npm version 2.0.2. The sails version is 0.11.4. Thats is why i m using older versions of node and npm. Node and npm versions are controlled using nvm.

enter image description here

My package.json file is

  "private": true,
  "version": "0.4.0",
  "description": "Web Application",
  "keywords": [],
  "dependencies": {
    "agenda-ui": "0.0.7",
    "azure-storage": "0.5.0",
    "bcryptjs": "2.2.0",
    "connect-redis": "1.4.5",
    "ejs": "0.8.8",
    "express-session": "1.12.1",
    "grunt": "0.4.2",
    "grunt-contrib-clean": "0.5.0",
    "grunt-contrib-coffee": "0.10.1",
    "grunt-contrib-concat": "0.3.0",
    "grunt-contrib-copy": "0.5.0",
    "grunt-contrib-cssmin": "0.9.0",
    "grunt-contrib-jst": "0.6.0",
    "grunt-contrib-less": "0.11.1",
    "grunt-contrib-uglify": "0.4.1",
    "grunt-sails-linker": "0.9.6",
    "grunt-sync": "0.0.8",
    "include-all": "0.1.6",
    "limiter": "1.1.0",
    "machinepack-http": "2.3.0",
    "moment": "2.15.1",
    "moment-timezone": "0.5.10",
    "oauth": "0.9.13",
    "passport": "0.2.2",
    "passport-facebook": "2.0.0",
    "passport-github": "0.1.5",
    "passport-google-oauth": "0.2.0",
    "passport-http-bearer": "1.0.1",
    "passport-linkedin-oauth2": "1.2.1",
    "passport-local": "1.0.0",
    "passport-twitter": "1.0.3",
    "pdf2json": "0.7.1",
    "rc": "0.5.5",
    "redis": "2.6.3",
    "sails": "0.11.4",
    "sails-disk": "0.10.8",
    "sails-generate-auth": "0.3.1",
    "sails-hook-email": "0.11.0",
    "sails-hook-jobs": "0.1.3",
    "sails-mongo": "0.11.2",
    "sendgrid": "2.0.0",
    "skipper-azure": "0.1.2",
    "socket.io-redis": "0.1.4",
    "string-similarity": "1.1.0",
    "validator": "3.43.0",
    "waterline": "0.10.28",
    "winston": "1.0.2",
    "winston-mail": "1.0.1",
    "winston-mongodb": "1.1.2",
    "xml2json": "0.10.0"
  },
  "devDependencies": {
    "grunt-contrib-watch": "~0.5.3"
  },
  "scripts": {
    "start": "node app.js",
    "debug": "node debug app.js"
  },
  
  ]
} ```
How to solve this error and have a successful npm install command working ?


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source