大佬教程收集整理的这篇文章主要介绍了尝试将Node.js项目部署到Google应用引擎时出错,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
runtime: nodejs vm: true skip_files: - ^(.*/)?.*/node_modules/.*$
这是我得到的错误:
错误:(gcloud.preview.app.deploy)我们无法检测到用于此应用程序的运行时.请在应用程序yaml文件中指定[runtime]字段,或检查您的应用程序是否配置正确.
我很确定我已经正确设置了项目,还有gcloud init我的gcloud CLI.
任何帮助都将不胜感激!
编辑:
$gcloud --version Google Cloud SDK 99.0.0 bq 2.0.18 bq-nix 2.0.18 core 2016.02.26 core-nix 2016.02.05 gcloud gsutil 4.17 gsutil-nix 4.15 $gcloud components list Your current Cloud SDK version is: 99.0.0 The latest available version is: 99.0.0 ┌─────────────────────────────────────────────────────────────────────────────────┐ │ Components │ ├───────────────┬─────────────────────────────────┬───────────────────┬───────────┤ │ Status │ Name │ ID │ Size │ ├───────────────┼─────────────────────────────────┼───────────────────┼───────────┤ │ Not Installed │ Cloud Datastore Emulator │ gcd-emulator │ 38.1 MiB │ │ Not Installed │ Cloud Pub/Sub Emulator │ pubsub-emulator │ 10.1 MiB │ │ Not Installed │ gcloud Alpha Commands │ alpha │ < 1 MiB │ │ Not Installed │ gcloud Beta Commands │ beta │ < 1 MiB │ │ Not Installed │ gcloud app Java Extensions │ app-ENGIne-java │ 101.4 MiB │ │ Not Installed │ gcloud app Python Extensions │ app-ENGIne-python │ 7.2 MiB │ │ Not Installed │ kubectl │ kubectl │ 5.2 MiB │ │ Installed │ BigQuery Command Line Tool │ bq │ < 1 MiB │ │ Installed │ Cloud SDK Core Libraries │ core │ 3.9 MiB │ │ Installed │ Cloud Storage Command Line Tool │ gsutil │ 2.6 MiB │ │ Installed │ Default set of gcloud commands │ gcloud │ │ └───────────────┴─────────────────────────────────┴───────────────────┴───────────┘
以上是大佬教程为你收集整理的尝试将Node.js项目部署到Google应用引擎时出错全部内容,希望文章能够帮你解决尝试将Node.js项目部署到Google应用引擎时出错所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。