【问题标题】:TFS 2015 build errorTFS 2015 构建错误
【发布时间】:2018-06-07 04:26:49
【问题描述】:

我的 TFS 2015 需要帮助,我能够在 Visual Studio 2015 中运行构建和发布,当我在 TFS 2015 中创建构建时,我的 jquery 没有完全构建。

我在命令行中的设置 工具:C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\npm\bower.cmd 参数:安装 jquery

Build log

与 VS 2015 中的构建相比,除了 jquery 只创建了几个文件和文件夹之外,一切都运行良好。

请告诉我我哪里做错了。

【问题讨论】:

  • 请点击失败的任务并分享整个日志。

标签: tfs-2015


【解决方案1】:

试试这种情况下的解决方案ECONFLICT Unable to find suitable version for jquery Foundation:

在您的bower.json 文件中使用resolutions。例如:

{
  "name": "refactor",
  "private": true,
  "dependencies": {
    "jquery": "~1.11.1",
    "raphael": "1.3.x",
    "font-awesome": "~4.3.0",
    "foundation": "x"
  },
  "resolutions": {
    "jquery": "~1.11.1"
  }
}

这将强制 bower 使用特定版本的 jQuery。

【讨论】:

    猜你喜欢
    • 2016-10-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-03-17
    • 1970-01-01
    • 2016-01-19
    相关资源
    最近更新 更多