Comments (6)
I wasn't able to reproduce. It may have been a transient issue with the Cloud Functions deployment process. Can you try again?
from cloud-functions-go.
I did. I tried to follow the steps in the README. My OS is Ubuntu 18.04, 64bit, kernel version 4.15.0-22-generic. I ran make on my machine and uploaded the zip file to google cloud functions. It just times out when trying to deploy. Is there anything I should change in the standard configuration? (When running make test, I can see the Hello from Go message locally)
Update: deployment works when using vagrant and virtualbox, so the issue must be with one of the dependencies. Will investigate further
from cloud-functions-go.
Are any errors printed during make? What changes have you made from stock Ubuntu 18.04?
from cloud-functions-go.
No errors printed during make. Something weird happened, I tried it again on native Ubuntu after using vagrant and now it seems to deploy fine. Even though I did not change anything. Comparing the 2 zip files I found just this difference between package.json files:
For the one in vagrant the line is : "execer": "file:local_modules/execer"
For the one in native Ubuntu: "execer": "file://local_modules/execer"
On Ubuntu I also have node 8.10.0 vs 6.14.3 and gcc 7.3.0 vs 6.3.0
I did not make any changes to the stock Ubuntu installation (well, apart from installing extra packages, but those are too many to keep track of)
from cloud-functions-go.
GCC is used for testing locally, but no outputs from GCC are uploaded. Some outputs from Node are uploaded as you found and I think GCF uses Node 6.x, so maybe it is a breaking change in Node 8.x.
from cloud-functions-go.
Thanks for the help! Couldn't pinpoint the exact problem, but I will let you know if I find out.
from cloud-functions-go.
Related Issues (20)
- about function-go HOT 6
- How to log to GCP Stackdriver? HOT 18
- currently only allow one main.go HOT 3
- cross projects permissions HOT 6
- there are any update? HOT 6
- Function always dies when issuing HTTP(S)-Requests with nodego.OverrideLogger() HOT 3
- Deployment failure: Operation interrupted. HOT 24
- Error: could not handle the request HOT 10
- NodeJS, PassportJS or JWT in Google Cloud Functions HOT 1
- Official Golang support plans? HOT 6
- How to deploy function to local emulator? HOT 2
- PubSub trigger `json: cannot unmarshal object` HOT 6
- Can't get this package. HOT 3
- How to use with a web server framework HOT 4
- Deployment issues HOT 9
- Official Go support is in public beta
- Why vendor folder is ignored (go project) HOT 1
- Deployment failure without invisibility! HOT 2
- Use Real Cloud Functions Go Runtime, Not Fake One HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud-functions-go.