GoogleCloudPlatform / data-science-on-gcp

Source code accompanying book: Data Science on the Google Cloud Platform, Valliappa Lakshmanan, O'Reilly 2017
Apache License 2.0
1.31k stars 715 forks source link

Chapter 2 - Error while trying to run the ingest app on App Engine: first service must be 'default' service #68

Closed johnsyin closed 5 years ago

johnsyin commented 5 years ago

ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: The first service (module) you upload to a new application must be the 'default' service (module). Please upload a version of the 'default' service (module) before uploading a version for the 'flights' service (module). See the documentation for more information. Python: (https://developers.google.com/appengine/docs/python/modules/#Python_Uploading%%20modules) Java: (https://developers.google.com/appengine/docs/java/modules/#Java_Uploading%%20modules)

Shall I change the service name to default?

lakshmanok commented 5 years ago

I think you missed the step to initialize app engine:

Initialize a default AppEngine application in your project by running ./init_appengine.sh.