We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Can not deploy Oracle Cloud functions when use cloud shell, Ruby or Golang

Accepted answer
12
Views
6
Comments
edited May 23, 2021 12:59AM in Oracle Cloud Infrastructure - General 6 comments

Content

Hello everybody

I try to create functions by Golang, but get some error message when execute command "fn -v deploy --app xxxxxx".

Example:

build func: cannot find module for path github.com/fnproject/fdk-go

or

go: finding github.com/fnproject/fdk-go v0.0.3
go: github.com/fnproject/[email protected]: unknown revision v0.0.3
go: error loading module requirements

I have tryed all language. Java, Node and Python is OK. Just Golang and Ruby have problem when execute command "fn -v deploy --app xxxxxx".

When use Ruby will get these message. But I have confirmed cloud shell can download json-2.5.1.gem by wget.  I don't know why get UnknownHostError.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!