bower安装 - 在Jenkins中失败 - 出现ENOTFOUND错误

时间:2018-04-05 07:52:02

标签: angularjs jenkins npm bower bower-install

    {
  "name": "concur-frontend",
  "version": "0.0.0",
  "dependencies": {
    "angular": "1.5.8",
    "bootstrap": "3.3.7",
    "angular-animate": "1.5.8",
    "angular-cookies": "1.5.8",
    "angular-resource": "1.5.8",
    "angular-route": "1.5.8",
    "angular-sanitize": "1.5.8",
    "angular-touch": "1.5.8",
    "angular-ui-router": "0.3.2",
    "lodash": "3.0.0",
    "restangular": "1.6.1",
    "angular-bootstrap": "1.2.5",
    "ui-bootstrap": "2.5.0",
    "angular-spinner": "0.8.1",
    "spin": "1.1.6",
    "bootstrap-ui-datetime-picker": "2.3.1"
  },
  "devDependencies": {
    "angular-mocks": "^1.4.0"
  },
  "appPath": "app",
  "moduleName": "meetingApp",
  "overrides": {
    "bootstrap": {
      "main": [
        "less/bootstrap.less",
        "dist/css/bootstrap.css",
        "dist/js/bootstrap.js"
      ]
    }
  },
  "resolutions": {
    "angular-bootstrap": "~1.2.0"
  }
}

以上是我的bower.json文件,我在控制台中收到错误

bower restangular#1.6.1      ENOTFOUND Package restangular not found

我搜索了类似的错误,发现很少有链接说bower 1.8.x有类似的错误,但我也在1.7.9中得到相同的错误。

让我知道如果我在任何地方出错,我会在4天内搜索这个但仍然没有运气

感谢Adv。

0 个答案:

没有答案