npm安装不在CentOS上工作

时间:2016-08-17 09:09:03

标签: node.js npm centos npm-install

我正在尝试在CENT OS上设置开发服务器,我安装了nodejs,现在尝试使用npm install安装依赖项,我在stackoverflow上尝试了很多解决方案,但它对我不起作用。

这是centos console http://imgur.com/a/IHToP的屏幕截图 这是我当地的Ubuntu机器http://imgur.com/a/xhiTs

的屏幕截图

这是package.json

{
  "name": "MYAPI",
  "version": "0.0.1",
  "description": "The central repository for code related to the ITBOOST  API.",
  "private": "true",
  "license": "UNLICENSED",
  "author": {
    "name": "Noman Maqsood",
    "email": "nmaqsood@thehelpdesk.com"
  },
  "contributors": [],
  "scripts": {
    "reinstall": "rm -rf node_modules;npm install",
    "test": "NODE_ENV_OVERRIDE=test ./node_modules/.bin/mocha test --timeout 3000000"
  },
  "main": "./bin/www",
  "dependencies": {
    "apidoc": "^0.15.1",
    "bluebird": "^3.4.1",
    "body-parser": "^1.15.1",
    "compression": "^1.6.2",
    "crypto": "0.0.3",
    "express": "^4.13.4",
    "express-subdomain": "^1.0.5",
    "gulp-util": "^3.0.7",
    "jsonwebtoken": "^7.0.0",
    "lodash": "^3.10.1",
    "moment": "^2.13.0",
    "mongoose": "^4.5.0",
    "mongoose-auto-increment": "^5.0.1",
    "morgan": "^1.7.0",
    "multer": "^1.1.0",
    "mxtoolkit": "^1.0.10",
    "node-env-file": "^0.1.8",
    "node-schedule": "^1.1.0",
    "node-ssllabs": "^0.4.3",
    "nodemailer": "^2.5.0",
    "nodemailer-smtp-transport": "^2.6.0",
    "path": "^0.12.7",
    "promisify-node": "^0.4.0",
    "request": "^2.72.0",
    "restify": "^4.1.1",
    "ua-parser-js": "^0.7.10",
    "whois-json": "^1.0.1",
    "xml2js": "^0.4.16",
    "xmldom": "^0.1.22",
    "xoauth2": "^1.1.0",
    "xpath": "0.0.23"
  },
  "apidoc": {
    "title": "MYAPI",
    "version": "1.0"
  },
  "esformatter": {
    "plugins": [
      "esformatter-quotes"
    ],
    "quotes": {
      "type": "double"
    },
    "indent": {
      "value": "\t",
      "FunctionExpression": "1",
      "ArrayExpression": "1",
      "ObjectExpression": "1"
    }
  }
}

0 个答案:

没有答案