{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-getting-started/issues/12","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-getting-started/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-getting-started/issues/12/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-getting-started/issues/12/events","html_url":"https://github.com/GoogleCloudPlatform/nodejs-getting-started/issues/12","id":99727196,"number":12,"title":"gcloud preview app run ./app.yaml throwing error","user":{"login":"redwood-egarcea","id":8050644,"avatar_url":"https://avatars.githubusercontent.com/u/8050644?v=3","gravatar_id":"","url":"https://api.github.com/users/redwood-egarcea","html_url":"https://github.com/redwood-egarcea","followers_url":"https://api.github.com/users/redwood-egarcea/followers","following_url":"https://api.github.com/users/redwood-egarcea/following{/other_user}","gists_url":"https://api.github.com/users/redwood-egarcea/gists{/gist_id}","starred_url":"https://api.github.com/users/redwood-egarcea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redwood-egarcea/subscriptions","organizations_url":"https://api.github.com/users/redwood-egarcea/orgs","repos_url":"https://api.github.com/users/redwood-egarcea/repos","events_url":"https://api.github.com/users/redwood-egarcea/events{/privacy}","received_events_url":"https://api.github.com/users/redwood-egarcea/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-08-07T20:42:40Z","updated_at":"2015-12-04T06:36:47Z","closed_at":"2015-08-07T20:45:10Z","body":"Seems to be caused by an unknown RuntimeError. \r\n```\r\nRuntimeError: Unknown runtime 'nodejs'; supported runtimes are 'custom', 'go', 'java', 'java7', 'php', 'php55', 'python', 'python27', 'vm'.\r\n```\r\nRuns fine when executing on google.\r\n```\r\ngcloud preview app deploy app.yaml --set-default \r\n```\r\n\r\n```\r\n➜  1-hello-world git:(1-hello-world)  gcloud --verbosity debug preview app run ./app.yaml\r\nDEBUG: Running gcloud.preview.app.run with Namespace(__calliope_internal_deepest_parser=ArgumentParser(prog='gcloud.preview.app.run', usage=None, description=\"*(BETA)* This command is used to run one or more of your modules in the local\\ndevelopment application server.  This allows you to test and debug your app\\nbefore deploying.  As an input it takes one or more ``RUNNABLES'' that should\\nbe run locally.  A ``RUNNABLE'' can be a module's .yaml file, or a directory.\\nIf given a directory, all modules found will be run.  You can run multiple\\nmodules at the same time, even if they are implemented in different languages.\", version=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=False), admin_host=None, allow_skipped_files=False, api_host=None, appidentity_email_address=None, appidentity_private_key_path=None, auth_domain='gmail.com', blobstore_path=None, clear_datastore=False, cmd_func=<bound method Command.Run of <googlecloudsdk.calliope.backend.Command object at 0x10d869690>>, command_path=['gcloud', 'preview', 'app', 'run'], custom_entrypoint=None, datastore_consistency_policy='time', datastore_path=None, default_gcs_bucket_name=None, document=None, enable_cloud_datastore=False, enable_mvm_logs=False, enable_sendmail=False, format=None, h=None, help=None, host=None, http_timeout=None, jvm_flag=None, log_http=None, log_level=None, logs_path=None, markdown=None, max_module_instances=None, php_executable_path=None, project=None, python_startup_script=None, quiet=None, require_indexes=False, runnables=['./app.yaml'], show_mail_body=False, smtp_allow_tls=False, smtp_host=None, smtp_password=None, smtp_user=None, storage_path=None, trace_token=None, use_mtime_file_watcher=False, user_output_enabled=None, verbosity='debug', version=None).\r\nDEBUG: Found Cloud SDK root: /Users/elliottgarcea/google-cloud-sdk\r\nDEBUG: Found App Engine SDK root: /Users/elliottgarcea/google-cloud-sdk/platform/google_appengine\r\nModule [default] found in file [/Users/elliottgarcea/Workspace/1-hello-world/app.yaml]\r\nINFO: Looking for the Dockerfile in /Users/elliottgarcea/Workspace/1-hello-world\r\nINFO: Using Dockerfile found in /Users/elliottgarcea/Workspace/1-hello-world\r\nDEBUG: Running [dev_appserver.py] with: --allow_skipped_files=False --application=client-server-test --auth_domain=gmail.com --clear_datastore=False --datastore_consistency_policy=time --dev_appserver_log_level=debug --enable_cloud_datastore=False --enable_mvm_logs=False --enable_sendmail=False --log_level=debug --require_indexes=False --show_mail_body=False --skip_sdk_update_check=True --smtp_allow_tls=False --use_mtime_file_watcher=False /Users/elliottgarcea/Workspace/1-hello-world/app.yaml\r\nINFO     2015-08-07 20:37:48,516 application_configuration.py:399] No version specified. Generated version id: 20150807t203748\r\nINFO     2015-08-07 20:37:48,516 devappserver2.py:763] Skipping SDK update check.\r\nDEBUG    2015-08-07 20:37:48,560 app_identity_stub.py:197] Successfully loaded Application Default Credentials.\r\nINFO     2015-08-07 20:37:48,567 api_server.py:205] Starting API server at: http://localhost:61437\r\nINFO     2015-08-07 20:37:48,568 api_server.py:646] Applying all pending transactions and saving the datastore\r\nINFO     2015-08-07 20:37:48,568 api_server.py:649] Saving search indexes\r\nTraceback (most recent call last):\r\n  File \"/Users/elliottgarcea/google-cloud-sdk/platform/google_appengine/dev_appserver.py\", line 83, in <module>\r\n    _run_file(__file__, globals())\r\n  File \"/Users/elliottgarcea/google-cloud-sdk/platform/google_appengine/dev_appserver.py\", line 79, in _run_file\r\n    execfile(_PATHS.script_file(script_name), globals_)\r\n  File \"/Users/elliottgarcea/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py\", line 1033, in <module>\r\n    main()\r\n  File \"/Users/elliottgarcea/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py\", line 1026, in main\r\n    dev_server.start(options)\r\n  File \"/Users/elliottgarcea/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py\", line 818, in start\r\n    self._dispatcher.start(options.api_host, apis.port, request_data)\r\n  File \"/Users/elliottgarcea/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/dispatcher.py\", line 193, in start\r\n    _module, port = self._create_module(module_configuration, port)\r\n  File \"/Users/elliottgarcea/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/dispatcher.py\", line 278, in _create_module\r\n    threadsafe_override=threadsafe_override)\r\n  File \"/Users/elliottgarcea/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py\", line 1536, in __init__\r\n    super(ManualScalingModule, self).__init__(**kwargs)\r\n  File \"/Users/elliottgarcea/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py\", line 555, in __init__\r\n    self._module_configuration)\r\n  File \"/Users/elliottgarcea/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py\", line 251, in _create_instance_factory\r\n    sorted(repr(k) for k in self._RUNTIME_INSTANCE_FACTORIES))))\r\nRuntimeError: Unknown runtime 'nodejs'; supported runtimes are 'custom', 'go', 'java', 'java7', 'php', 'php55', 'python', 'python27', 'vm'.\r\nDEBUG: Error [1] while running DevAppSever with: [--allow_skipped_files=False --application=client-server-test --auth_domain=gmail.com --clear_datastore=False --datastore_consistency_policy=time --dev_appserver_log_level=debug --enable_cloud_datastore=False --enable_mvm_logs=False --enable_sendmail=False --log_level=debug --require_indexes=False --show_mail_body=False --skip_sdk_update_check=True --smtp_allow_tls=False --use_mtime_file_watcher=False /Users/elliottgarcea/Workspace/1-hello-world/app.yaml]\r\nDEBUG: (gcloud.preview.app.run) DevAppSever failed with error code [1]\r\nTraceback (most recent call last):\r\n  File \"/Users/elliottgarcea/google-cloud-sdk/./lib/googlecloudsdk/calliope/cli.py\", line 548, in Execute\r\n    result = args.cmd_func(cli=self, args=args)\r\n  File \"/Users/elliottgarcea/google-cloud-sdk/./lib/googlecloudsdk/calliope/backend.py\", line 1102, in Run\r\n    result = command_instance.Run(args)\r\n  File \"/Users/elliottgarcea/google-cloud-sdk/./lib/googlecloudsdk/appengine/app_commands/run.py\", line 334, in Run\r\n    runner.Start(*runnables)\r\n  File \"/Users/elliottgarcea/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/dev_appserver_adapter.py\", line 138, in Start\r\n    raise DevappserverExecutionError(return_code, argv)\r\nDevappserverExecutionError: DevAppSever failed with error code [1]\r\nERROR: (gcloud.preview.app.run) DevAppSever failed with error code [1]\r\n```"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-getting-started/issues/comments/161890517","html_url":"https://github.com/GoogleCloudPlatform/nodejs-getting-started/issues/12#issuecomment-161890517","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-getting-started/issues/12","id":161890517,"user":{"login":"Chipintoza","id":7863051,"avatar_url":"https://avatars.githubusercontent.com/u/7863051?v=3","gravatar_id":"","url":"https://api.github.com/users/Chipintoza","html_url":"https://github.com/Chipintoza","followers_url":"https://api.github.com/users/Chipintoza/followers","following_url":"https://api.github.com/users/Chipintoza/following{/other_user}","gists_url":"https://api.github.com/users/Chipintoza/gists{/gist_id}","starred_url":"https://api.github.com/users/Chipintoza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chipintoza/subscriptions","organizations_url":"https://api.github.com/users/Chipintoza/orgs","repos_url":"https://api.github.com/users/Chipintoza/repos","events_url":"https://api.github.com/users/Chipintoza/events{/privacy}","received_events_url":"https://api.github.com/users/Chipintoza/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T06:36:47Z","updated_at":"2015-12-04T06:36:47Z","body":":( becous i delete staging.gssgcloudtest.appspot.com I have to do this :(...\r\nlater i will try with new project but it will be greate if will corrected.\r\nthanks."}}