「Gcp/Firebase/CloudFunctions/nodeバージョン」の版間の差分
提供: 初心者エンジニアの簡易メモ
(→nodeのバージョン変更) |
(→nodeのバージョン変更) |
||
| 行9: | 行9: | ||
</pre> | </pre> | ||
8を10へあげればnode10になる。 | 8を10へあげればnode10になる。 | ||
| + | |||
| + | 参考:https://zenn.dev/cbcloud_blog/articles/36460eca046742 | ||
| + | |||
| + | ==バージョンサポートスケジュール== | ||
| + | https://cloud.google.com/functions/docs/runtime-support?hl=ja#support_schedule | ||
| + | |||
| + | 非推奨のランタイムは 6 ~ 12 か月後に廃止される。 | ||
2024年4月18日 (木) 01:33時点における版
nodeのバージョン変更
functions/package.json
{
"engines": {
"node": "8"
}
}
8を10へあげればnode10になる。
参考:https://zenn.dev/cbcloud_blog/articles/36460eca046742
バージョンサポートスケジュール
https://cloud.google.com/functions/docs/runtime-support?hl=ja#support_schedule
非推奨のランタイムは 6 ~ 12 か月後に廃止される。
