为什么 Red Hat OpenShift 不克隆该项目?

why Red Hat OpenShift dosen't clone the project?

我正在测试名为 adobot-io-master 的项目。我没有使用 heroku,而是为这个项目选择了 Red Hat OpenShift,但我收到了这个错误。

我正在测试的项目是 adobot-io-master link 是 https://github.com/adonespitogo/AdoBot-IO

错误构建是

    Cloning "https://github.com/adonespitogo/AdoBot-IO.git " ...
        Commit: 055663d38c91c2b61ba514e4cbf1469e8e0c36bb (Update README.md)
        Author: Adones Pitogo <pitogo.adones@gmail.com>
        Date:   Fri Feb 15 20:17:22 2019 +0800
    Pulling image "docker-registry.default.svc:5000/openshift/nodejs@sha256:b155814ac48feed9667b590a73f090367cbd7f64e34aaeb4dc70bfc8a4963ace" ...
    Using docker-registry.default.svc:5000/openshift/nodejs@sha256:b155814ac48feed9667b590a73f090367cbd7f64e34aaeb4dc70bfc8a4963ace as the s2i builder image
    ---> Installing application source
    ---> Building your Node application from source
    Current git config
    url.https://github.com.insteadof=git@github.com: 
    url.https://.insteadof=ssh:// 
    url.https://github.com.insteadof=ssh://git@github.com 
    core.repositoryformatversion=0
    core.filemode=true
    core.bare=false
    core.logallrefupdates=true
    remote.origin.url=https://github.com/adonespitogo/AdoBot-IO.git 
    remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
    branch.master.remote=origin
    branch.master.merge=refs/heads/master
    ---> Installing dependencies
    ---> Using 'npm install -s --only=production'
    sh: run-s: command not found
    error: build error: non-zero (13) exit code from docker-registry.default.svc:5000/openshift/nodejs@sha256:b155814ac48feed9667b590a73f090367cbd7f64e34aaeb4dc70bfc8a4963ace

谁能建议我怎么做?

找不到命令run-s。如果您查看 package.json 文件,您会看到:

    "postinstall": "run-s migrate build",
    "dev": "run-s build start"

我猜它试图执行 postinstall 任务但找不到 run-s 命令所以它失败了。

您确定使用安装了 npm/node 的优质 docker 映像来构建您的项目吗?