小编Beh*_*har的帖子

npm 错误缺少脚本:构建(使用 Azure Pipelines 设置 CI)

我正在使用 Microsoft 的 Azure DevOps 并尝试构建管道。当我运行它时,会出现以下错误(请注意,我使用的是 Nodejs):

2019-02-27T14:51:52.8760703Z ##[section]Starting: npm install and build
2019-02-27T14:51:52.8763347Z ==============================================================================
2019-02-27T14:51:52.8763405Z Task         : Command Line
2019-02-27T14:51:52.8763440Z Description  : Run a command line script using cmd.exe on Windows and bash on macOS and Linux.
2019-02-27T14:51:52.8763490Z Version      : 2.146.1
2019-02-27T14:51:52.8763523Z Author       : Microsoft Corporation
2019-02-27T14:51:52.8763557Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkID=613735)
2019-02-27T14:51:52.8763604Z ==============================================================================
2019-02-27T14:51:53.0258171Z Generating script.
2019-02-27T14:51:53.0326177Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/10b6fcd3-847a-4422-bb84-ba6e0b8ca7cb.sh
2019-02-27T14:51:54.3278066Z npm WARN holzlauf@1.0.0 No description
2019-02-27T14:51:54.3278893Z npm WARN holzlauf@1.0.0 No repository field.
2019-02-27T14:51:54.3279186Z 
2019-02-27T14:51:54.5749996Z audited 175 packages …
Run Code Online (Sandbox Code Playgroud)

azure azure-devops azure-pipelines

6
推荐指数
1
解决办法
1057
查看次数

在 Bootstrap 4 的右侧对齐 Modal

我正在使用 Bootstrap 4。我希望模态正确对齐(请参阅图片我的意思):

我多么想要

到目前为止,这是我的代码。我从 Bootstrap 文档中得到它:

<button type="button" class="btn btn-outline-secondary" data-toggle="modal" data-target="#exampleModalScrollable" id="btn1">mehr Erfahren</button>

<!-- Modal -->
<div class="modal fade" id="exampleModalScrollable" tabindex="-1" role="dialog" aria-labelledby="exampleModalScrollableTitle" aria-hidden="true">
    <div class="modal-dialog modal-dialog-scrollable" role="document">
      <div class="modal-content">
        <div class="modal-header">
          <h5 class="modal-title" id="exampleModalScrollableTitle">Winkelstufe</h5>
          <button type="button" class="close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">&times;</span>
          </button>
        </div>
        <div class="modal-body">
          ...
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-secondary" data-dismiss="modal">Schliessen</button>         
        </div>
      </div>
    </div>
  </div>
Run Code Online (Sandbox Code Playgroud)

我很感激你的帮助。

html css twitter-bootstrap bootstrap-4

4
推荐指数
2
解决办法
1万
查看次数