2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Google Cloud Functionを久しぶりに触ったら動かなかったメモ

Posted at

第二世代で今までの感覚で普通にpythonコードとrequirements.txtを設定したら以下のエラーが出た

ERROR: failed to build: executing lifecycle. This may be the result of using an untrusted builder: failed with status code: 51

requirements.txtはローカルで確認して、動作成功しているものをそのままコピペで転記
・・・をした際に、余計なものまで宇和がしていた模様。

https://cloud.google.com/functions/docs/writing/specifying-dependencies-python?hl=ja
を確認すると
requirements.txtに
functions-framework
が必須で必要になった模様で、こいつを消してしまっていた。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?