{err:ENOENT} on deploy

50 views
Skip to first unread message

Peter Hassaballah

unread,
Apr 16, 2020, 8:38:41 AM4/16/20
to Google App Engine
I successfully cloned  my repo into google cloud when I run it using npm start it works fine in the webpreview 
when I try to run gcloud app deploy it runs smoothly however the link generated by gcloud app browse gives a 404 HTTP error .
My repo is in express.js Node.js .
Any Ideas on how to track that error origin because nothing shows in the cloud shell

George (Cloud Platform Support)

unread,
Apr 16, 2020, 10:18:15 AM4/16/20
to google-a...@googlegroups.com
Hello Peter, 

How did you run the gcloud app browse command? You should edit out any piece of private information, such as project number and the like. What is the output from the same command, followed by the flag set to --verbosity=debug?

What is the output of gcloud info (again, no private information)?

Does your environment allow for a browser to be launched, i.e. headless or not?

Due to privacy concerns, you should consider opening an issue in the Public Issue Tracker, where you can set communication to private. 

Peter Hassaballah

unread,
Apr 16, 2020, 11:14:51 AM4/16/20
to Google App Engine
gcloud app browse output:
Did not detect your browser. Go to this link to view your app:https://MyAppID.appspot.com
Output with verbose flag :

DEBUG: Running [gcloud.app.browse] with arguments: [--verbosity: "debug"]Did not detect your browser. Go to this link to view your app:INFO: Display format: "value(url)"https://myprojectid.appspot.comDEBUG: SDK update checks are disabled.
Gcloud info output :
Google Cloud SDK [289.0.0]Platform: [Linux, x86_64] ('Linux', 'cs-6000-devshell-vm-f0d6774e-3fde-49fd-8a25-f1d9a80af77a', '4.19.112+', '#1 SMP Sat Apr 4 00:12:45 PDT 2020', 'x86_64', '')Locale: ('en_US', 'UTF-8')Python Version: [2.7.13 (default, Sep 26 2018, 18:42:22) [GCC 6.3.0 20170516]]Python Location: [/usr/bin/python2]Site Packages: [Disabled]Installation Root: [/google/google-cloud-sdk]Installed Components: beta: [2019.05.17] kubectl: [2020.02.07] app-engine-python: [1.9.90] app-engine-java: [1.9.79] pubsub-emulator: [2019.09.27] core: [2020.04.10] cloud_sql_proxy: [] app-engine-go: [] datalab: [20190610] cloud-build-local: [] docker-credential-gcr: [] app-engine-python-extras: [1.9.90] skaffold: [] gsutil: [4.49] cloud-datastore-emulator: [2.1.0] cbt: [] app-engine-php: [ ] alpha: [2019.05.17] kind: [] bq: [2.0.56]System PATH: [/home/peter_hassaballah/gopath/bin:/google/gopath/bin:/home/peter_hassaballah/.gems/bin:/usr/local/go/bin:/opt/gradle/bin:/opt/maven/bin:/google/google-cloud-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/nvm/versions/node/v10.14.2/bin:/google/go_appengine:/google/google_appengine:/google/migrate/anthos/]Python PATH: [/google/google-cloud-sdk/lib/third_party:/google/google-cloud-sdk/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload]Cloud SDK on PATH: [True]Kubectl on PATH: [/google/google-cloud-sdk/bin/kubectl]WARNING: There are old versions of the Google Cloud Platform tools on your system PATH. /google/go_appengine/dev_appserver.py /google/go_appengine/endpointscfg.py /usr/bin/cloud_sql_proxyInstallation Properties: [/google/google-cloud-sdk/properties]User Config Directory: [/tmp/tmp.ByG1f3Ebdo]Active Configuration Name: [dont know if it private hide it anyway]Active Configuration Path: [/tmp/tmp.ByG1f3Ebdo/configurations/config_dont know if it private hide it anyway]Account: [myemail]Project: []Current Properties: [metrics] environment: [devshell] [core] project: [] account: [myemail] disable_usage_reporting: [False] [component_manager] disable_update_check: [True] [compute] gce_metadata_read_timeout_sec: [5]Logs Directory: [/tmp/tmp.ByG1f3Ebdo/logs]Last Log File: [/tmp/tmp.ByG1f3Ebdo/logs/2020.04.16/16.52.57.240696.log]git: [git version 2.11.0]ssh: [OpenSSH_7.4p1 Debian-10+deb9u7, OpenSSL 1.0.2u 20 Dec 2019]
My environment does not allow a browser to be launched.
I don't know what headless refer to though.

Reply all
Reply to author
Forward
0 new messages