Giter VIP home page Giter VIP logo

Comments (6)

iangudger avatar iangudger commented on May 27, 2024

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.

tlaplusplus avatar tlaplusplus commented on May 27, 2024

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.

iangudger avatar iangudger commented on May 27, 2024

Are any errors printed during make? What changes have you made from stock Ubuntu 18.04?

from cloud-functions-go.

tlaplusplus avatar tlaplusplus commented on May 27, 2024

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.

iangudger avatar iangudger commented on May 27, 2024

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.

tlaplusplus avatar tlaplusplus commented on May 27, 2024

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)

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.