Coder Social home page Coder Social logo

codelab-locator-full-stack-maps-js's People

Contributors

jpoehnelt avatar wangela avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codelab-locator-full-stack-maps-js's Issues

Step 11: Deploy to Production Error: exec: "gcc": executable file not found in $PATH

Like siegesleitner mentioned back on Feb 3. 2022, all went well until Step 11 when I tried to run the "gcloud app deploy" command. I get this error: "gcc": executable file not found in $PATH. The Cloud Shell .bashrc file seems fine.

which gcc
/usr/bin/gcc

echo $PATH
/opt/gradle/bin:/opt/maven/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin:/usr/local/nvm/versions/node/v12.14.1/bin:/usr/local/rvm/bin:/google/go_appengine:/google/google_appengine:/google/migrate/anthos/:/home/myname/.gems/bin:/usr/local/rvm/bin:/home/myname/gopath/bin:/google/gopath/bin:/google/flutter/bin

BUILD
Starting Step #0
Step #0: Pulling image: gcr.io/gcp-runtimes/go1-builder@sha256:408a098788ef4cdeec452821946b986ef82ce5ebceecbdf748ffecf329765bce
Step #0: gcr.io/gcp-runtimes/go1-builder@sha256:408a098788ef4cdeec452821946b986ef82ce5ebceecbdf748ffecf329765bce: Pulling from gcp-runtimes/go1-builder
Step #0: 6c5b97b864a6: Already exists
Step #0: 8ca77d5ce166: Already exists
Step #0: 3c2cba919283: Already exists
Step #0: f51d1e50dfed: Pulling fs layer
Step #0: 93d357f3c912: Pulling fs layer
Step #0: 38c250bc4956: Pulling fs layer
Step #0: 194752cda0cd: Pulling fs layer
Step #0: 7e8b9278b356: Pulling fs layer
Step #0: c0baf66a8378: Pulling fs layer
Step #0: 194752cda0cd: Waiting
Step #0: 7e8b9278b356: Waiting
Step #0: c0baf66a8378: Waiting
Step #0: 93d357f3c912: Download complete
Step #0: 38c250bc4956: Verifying Checksum
Step #0: 38c250bc4956: Download complete
Step #0: 194752cda0cd: Verifying Checksum
Step #0: 194752cda0cd: Download complete
Step #0: 7e8b9278b356: Verifying Checksum
Step #0: 7e8b9278b356: Download complete
Step #0: c0baf66a8378: Verifying Checksum
Step #0: c0baf66a8378: Download complete
Step #0: f51d1e50dfed: Verifying Checksum
Step #0: f51d1e50dfed: Download complete
Step #0: f51d1e50dfed: Pull complete
Step #0: 93d357f3c912: Pull complete
Step #0: 38c250bc4956: Pull complete
Step #0: 194752cda0cd: Pull complete
Step #0: 7e8b9278b356: Pull complete
Step #0: c0baf66a8378: Pull complete
Step #0: Digest: sha256:408a098788ef4cdeec452821946b986ef82ce5ebceecbdf748ffecf329765bce
Step #0: Status: Downloaded newer image for gcr.io/gcp-runtimes/go1-builder@sha256:408a098788ef4cdeec452821946b986ef82ce5ebceecbdf748ffecf329765bce
Step #0: gcr.io/gcp-runtimes/go1-builder@sha256:408a098788ef4cdeec452821946b986ef82ce5ebceecbdf748ffecf329765bce
Step #0: go: finding github.com/jackc/pgx v3.6.2+incompatible
Step #0: go: finding github.com/shopspring/decimal v1.3.1
Step #0: go: finding github.com/pkg/errors v0.9.1
Step #0: go: finding github.com/lib/pq v1.10.4
Step #0: go: finding github.com/jackc/fake v0.0.0-20150926172116-812a484cc733
Step #0: go: finding github.com/gofrs/uuid v4.2.0+incompatible
Step #0: go: finding github.com/cockroachdb/apd v1.1.0
Step #0: go: finding golang.org/x/crypto v0.0.0-20220321153916-2c7772ba3064
Step #0: go: finding golang.org/x/text v0.3.7
Step #0: go: finding golang.org/x/text v0.3.6
Step #0: go: finding golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2
Step #0: go: finding golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1
Step #0: go: finding golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
Step #0: go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e
Step #0: go: finding golang.org/x/sys v0.0.0-20201119102817-f84b799fce68
Step #0: go: finding golang.org/x/sys v0.0.0-20210423082822-04245dca01da
Step #0: go: downloading github.com/jackc/pgx v3.6.2+incompatible
Step #0: go: downloading github.com/pkg/errors v0.9.1
Step #0: go: downloading golang.org/x/crypto v0.0.0-20220321153916-2c7772ba3064
Step #0: go: downloading golang.org/x/text v0.3.7
Step #0: # net
Step #0: exec: "gcc": executable file not found in $PATH
Finished Step #0
ERROR
ERROR: build step 0 "gcr.io/gcp-runtimes/go1-builder@sha256:408a098788ef4cdeec452821946b986ef82ce5ebceecbdf748ffecf329765bce" failed: step exited with non-zero status: 2

7 Get the user's starting location

my auto-complete when doesn't work. I get: Error while parsing 'fields' parameter: Unsupported field name 'address_compoennts'. <- this is misspelled, however in my code I spelled it correct, even though I copy the code from github but still doesn't work

Step 8 Scale with Cloud SQL

I followed all the steps but I got stuck in step number 8 Scale with Cloud SQL when creating file " locations.go " error error loading workspace you are outside of a module. what might be the mistake?
2021-12-31

Why GO?

I am learning the Google Map API and found the store locator example quite illuminating. However, the use of GO as an implementation language is quite disappointing. Please reconsider.

GCC "not in path" error when trying to deploying the app

Hi!
Until this step everything worked perfect in this tutorial!
But when trying to deploy it always complains that gcc executeable is not in the path.

....
Step #0: go: finding golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1
Step #0: go: finding golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2
Step #0: go: finding golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
Step #0: go: finding golang.org/x/sys v0.0.0-20201119102817-f84b799fce68
Step #0: go: finding golang.org/x/sys v0.0.0-20210423082822-04245dca01da
Step #0: go: downloading github.com/jackc/pgx v3.6.2+incompatible
Step #0: go: downloading github.com/pkg/errors v0.9.1
Step #0: go: downloading golang.org/x/text v0.3.7
Step #0: go: downloading golang.org/x/crypto v0.0.0-20220131195533-30dcbda58838
Step #0: # net
Step #0: exec: "gcc": executable file not found in $PATH
Finished Step #0
ERROR
ERROR: build step 0 "gcr.io/gcp-runtimes/go1-builder@sha256:408a098788ef4cdeec452821946b986ef82ce5ebceecbdf748ffecf329765bce" failed: step exited with non-zero status: 2

ERROR: (gcloud.app.deploy) Cloud build failed. Check logs at https://console.cloud.google.com/cloud-build/builds/cb1f2091-8fe7-4903-af23-9b181e577415?project=543264070412 Failure status: UNKNOWN: Error Response: [2] Build failed; check build logs for details

GCC is found and can be executed:
$ type gcc
gcc is /usr/bin/gcc

I also added an extra PATH to /usr/bin to .bashrc but it didnt change anything.

What can I do...?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.