Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot use fbFile (type "..projectDir/vendor/google.golang.org/api/option".ClientOption) as type "..ProjectDir/vendor/github.com/acoshift/go-firebase-admin/vendor/google.golang.org/api/option".ClientOption in argument to firebase.InitializeApp #48

Open
wildan2711 opened this issue Sep 21, 2017 · 3 comments

Comments

@wildan2711
Copy link

wildan2711 commented Sep 21, 2017

cannot use fbFile (type "gitlab.com/dolan-in/dolan/vendor/google.golang.org/api/option".ClientOption) as type 
"gitlab.com/dolan-in/dolan/vendor/github.com/acoshift/go-firebase-admin/vendor/google.golang.org/api/option".ClientOption in argument to 
firebase.InitializeApp  "gitlab.com/dolan-in/dolan/vendor/google.golang.org/api/option".ClientOption 
does not implement "gitlab.com/dolan-in/dolan/vendor/github.com/acoshift/go-firebase-admin/vendor/google.golang.org/api/option".ClientOption (wrong type for Apply method)         
have Apply(*"gitlab.com/dolan-in/dolan/vendor/google.golang.org/api/internal".DialSettings)         
want Apply(*"gitlab.com/dolan-in/dolan/vendor/github.com/acoshift/go-firebase-admin/vendor/google.golang.org/api/internal".DialSettings) fbFile ClientOption

Probably an import error? Two other people in my team encountered this error too. Just recently upgraded to 0.0.6

@acoshift
Copy link
Owner

Hi, right now it works when install via package manager ex. dep
workaround is remove vendor/ folder after go get
I don't know how library handle dependency, I'll investigate on this.

@wildan2711
Copy link
Author

wildan2711 commented Sep 21, 2017

Yep, we're using Glide for dependency management.

Okay, Thank you!

@jobnte
Copy link

jobnte commented May 22, 2018

Where is vendor folder?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants