私のアプリケーションをBluemixにプッシュすることができなくなりました。私はKituraアプリのswift_buildbackを使用しています。swift_buildpackを使用してBluemixに「cf push」することができません2.0.5
私が最後にプッシュしたのは昨日だった。私は、デフォルトビルドパックが2.0.5になったことに気付きました。私が最後に気にしていたのは、2.0.4でした。私はbuildpackの古いバージョンを指定する方法を知らないので、そこで問題を排除します。次
cf push
リターン:
Downloading swift_buildpack...
Downloaded swift_buildpack
Creating container
Successfully created container
Downloading app package...
Downloaded app package (46.5M)
Downloading build artifacts cache...
Downloaded build artifacts cache (43.9M)
Staging...
-----> Buildpack version 2.0.5
-----> Default supported Swift version is 3.1
-----> Configure for apt-get installs...
-----> Writing profile script...
-----> Copying deb files to installation folder...
-----> No Aptfile found.
-----> Getting swift-3.0.2
-----> WARNING: Default supported Swift version: swift-3.1
-----> WARNING: Requested Swift version for your app: swift-3.0.2
Cached swift-3.0.2
-----> Unpacking swift-3.0.2.tar.gz
-----> Getting clang-3.8.0
Cached clang-3.8.0
-----> Unpacking clang-3.8.0.tar.xz
-----> .ssh directory and config file not found.
-----> Loading from cache:
-----> - Packages
-----> Fetching Swift packages and parsing Package.swift files...
-----> Additional packages to download: libcurl4-openssl-dev openssl libssl-dev
-----> libcurl4-openssl-dev is already installed.
-----> openssl is already installed.
-----> libssl-dev is already installed.
-----> No additional packages to download.
-----> Skipping installation of App Management (debug)
-----> Installing system level dependencies...
-----> Installing deb_files
dpkg-deb: error: failed to read archive `deb_files': No such file or directory
Failed to compile droplet
Exit status 223
Staging failed: Exited with status 223
Destroying container
FAILED
Error restarting application: BuildpackCompileFailed
ありがとうございました!私は '-b'を見つけましたが、ビルドパック名を取得する方法を知らなかった。あなたの助けを借りて、2.0.4 buildpackがうまく動作することを確認できます。それは壊れているように見える新しい2.0.5です。あなたが提供したリンクを使用して、その問題に従います。再度、感謝します! – kontiki
結局、2.0.5はうまくいくようです。 – kontiki
あなたはキャッシュを何らかの形で管理しています;デフォルトではオンですが、 '' cf push''を実行すると、 cf set-env myapp NODE_MODULES_CACHE false'が無効になります。Ref https://console.ng.bluemix.net/docs/runtimes/nodejs/configurationOptions.html#cache_behavior – amadain