googlemaps-samples / codelab-locator-full-stack-maps-js Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Good day
The conversion of the geojson file to sql dump file is throwing errors
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
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
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.
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.
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...?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.