Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25517

Cannot assign TranslateFunc to c.T error

$
0
0

Hello

I am following the developer install instructions for the Mac OSX here.

When I enter the command make test I get the following errors:

platform:$ make test
Starting docker containers
Ldap test user test.one
Running server tests
go test  -run=. -test.v -test.timeout=340s ./api || exit 1
# github.com/<username>/platform/api
api/context.go:101: cannot assign "github.com/mattermost/platform/vendor/github.com/nicksnyder/go-i18n/i18n".TranslateFunc to c.T (type "github.com/<username>/platform/vendor/github.com/nicksnyder/go-i18n/i18n".TranslateFunc) in multiple assignment
api/context.go:211: cannot use c.T (type "github.com/<username>/platform/vendor/github.com/nicksnyder/go-i18n/i18n".TranslateFunc) as type "github.com/mattermost/platform/vendor/github.com/nicksnyder/go-i18n/i18n".TranslateFunc in argument to c.Err.Translate
FAIL	github.com/<username>/platform/api [build failed]
make: *** [test-server] Error 1

This after installing all dependancies with go get.


Viewing all articles
Browse latest Browse all 25517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>