# Problem reverting to previous nakama runtime

**URL:** <https://forum.heroiclabs.com/t/problem-reverting-to-previous-nakama-runtime/674>\
**Category:** Local Setup\
**Created:** [April 23, 2020, 8:19pm UTC](https://forum.heroiclabs.com/t/problem-reverting-to-previous-nakama-runtime/674 "2020-04-23T20:19:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oscargoldman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/oscargoldman/32/28_2.png) [@oscargoldman](https://forum.heroiclabs.com/u/oscargoldman)\
**Post date:** [April 23, 2020, 8:19pm UTC](https://forum.heroiclabs.com/t/problem-reverting-to-previous-nakama-runtime/674/1 "2020-04-23T20:19:22Z")

</div>

We are developing for nakama 2.9 and have go 1.13.5 installed. During the process of compiling our go module, we accidently did a get on the v1.4.0 nakama runtime. We have since deleted it, but now nakama is rejecting our module due to this error:  
plugin was built with a different version of package [golang.org/x/crypto/pbkdf2](http://golang.org/x/crypto/pbkdf2)  
I’ve reinstalled go, but am getting the same message.

---

<div class="post-metadata">

**Author:** ![oscargoldman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/oscargoldman/32/28_2.png) [@oscargoldman](https://forum.heroiclabs.com/u/oscargoldman)\
**Post date:** [April 23, 2020, 8:35pm UTC](https://forum.heroiclabs.com/t/problem-reverting-to-previous-nakama-runtime/674/2 "2020-04-23T20:35:19Z")

</div>

I deleted all the go packages downloaded in my local go path, reinstalled go, and tried to re build our module with a clean install of go 1.13.5, and using the nakama runtime v1.3.0. This is the packages that were downloaded when I did that:  
jxx@Jons-Mac go\_source % go build -buildmode=plugin -trimpath -o ./module.so  
go: downloading [github.com/golang/protobuf](http://github.com/golang/protobuf) v1.3.2  
go: finding [github.com/jackc/pgx](http://github.com/jackc/pgx) v3.6.2+incompatible  
go: finding [github.com/jackc/pgx/v4](http://github.com/jackc/pgx/v4) v4.6.0  
go: finding [github.com/disintegration/imaging](http://github.com/disintegration/imaging) v1.6.2  
go: extracting [github.com/golang/protobuf](http://github.com/golang/protobuf) v1.3.2  
go: downloading [github.com/jackc/pgx/v4](http://github.com/jackc/pgx/v4) v4.6.0  
go: downloading [github.com/jackc/pgx](http://github.com/jackc/pgx) v3.6.2+incompatible  
go: downloading [github.com/disintegration/imaging](http://github.com/disintegration/imaging) v1.6.2  
go: extracting [github.com/jackc/pgx](http://github.com/jackc/pgx) v3.6.2+incompatible  
go: extracting [github.com/disintegration/imaging](http://github.com/disintegration/imaging) v1.6.2  
go: extracting [github.com/jackc/pgx/v4](http://github.com/jackc/pgx/v4) v4.6.0  
go: downloading [github.com/jackc/pgtype](http://github.com/jackc/pgtype) v1.3.0  
go: downloading [github.com/jackc/pgconn](http://github.com/jackc/pgconn) v1.5.0  
go: downloading [golang.org/x/image](http://golang.org/x/image) v0.0.0-20191009234506-e7c1f5e7dbb8  
go: downloading [github.com/jackc/pgio](http://github.com/jackc/pgio) v1.0.0  
go: downloading [github.com/jackc/pgproto3](http://github.com/jackc/pgproto3) v1.1.0  
go: downloading [golang.org/x/xerrors](http://golang.org/x/xerrors) v0.0.0-20190717185122-a985d3407aa7  
go: extracting [github.com/jackc/pgio](http://github.com/jackc/pgio) v1.0.0  
go: extracting [github.com/jackc/pgtype](http://github.com/jackc/pgtype) v1.3.0  
go: extracting [golang.org/x/xerrors](http://golang.org/x/xerrors) v0.0.0-20190717185122-a985d3407aa7  
go: extracting [github.com/jackc/pgproto3](http://github.com/jackc/pgproto3) v1.1.0  
go: downloading [github.com/jackc/pgproto3/v2](http://github.com/jackc/pgproto3/v2) v2.0.1  
go: extracting [github.com/jackc/pgconn](http://github.com/jackc/pgconn) v1.5.0  
go: downloading [github.com/jackc/pgpassfile](http://github.com/jackc/pgpassfile) v1.0.0  
go: downloading [github.com/jackc/pgservicefile](http://github.com/jackc/pgservicefile) v0.0.0-20200307190119-3430c5407db8  
go: downloading [github.com/jackc/chunkreader](http://github.com/jackc/chunkreader) v1.0.0  
go: downloading [golang.org/x/crypto](http://golang.org/x/crypto) v0.0.0-20200323165209-0ec3e9974c59  
go: downloading [golang.org/x/text](http://golang.org/x/text) v0.3.2  
go: extracting [github.com/jackc/pgproto3/v2](http://github.com/jackc/pgproto3/v2) v2.0.1  
go: extracting [github.com/jackc/pgpassfile](http://github.com/jackc/pgpassfile) v1.0.0  
go: extracting [github.com/jackc/chunkreader](http://github.com/jackc/chunkreader) v1.0.0  
go: extracting [github.com/jackc/pgservicefile](http://github.com/jackc/pgservicefile) v0.0.0-20200307190119-3430c5407db8  
go: downloading [github.com/jackc/chunkreader/v2](http://github.com/jackc/chunkreader/v2) v2.0.1  
go: extracting [github.com/jackc/chunkreader/v2](http://github.com/jackc/chunkreader/v2) v2.0.1  
go: extracting [golang.org/x/text](http://golang.org/x/text) v0.3.2  
go: extracting [golang.org/x/crypto](http://golang.org/x/crypto) v0.0.0-20200323165209-0ec3e9974c59  
go: extracting [golang.org/x/image](http://golang.org/x/image) v0.0.0-20191009234506-e7c1f5e7dbb8  
go: finding [golang.org/x/image](http://golang.org/x/image) v0.0.0-20191009234506-e7c1f5e7dbb8  
go: finding [github.com/golang/protobuf](http://github.com/golang/protobuf) v1.3.2  
go: finding [github.com/jackc/pgconn](http://github.com/jackc/pgconn) v1.5.0  
go: finding [github.com/jackc/pgio](http://github.com/jackc/pgio) v1.0.0  
go: finding [github.com/jackc/pgproto3/v2](http://github.com/jackc/pgproto3/v2) v2.0.1  
go: finding [github.com/jackc/chunkreader/v2](http://github.com/jackc/chunkreader/v2) v2.0.1  
go: finding [github.com/jackc/pgpassfile](http://github.com/jackc/pgpassfile) v1.0.0  
go: finding [golang.org/x/xerrors](http://golang.org/x/xerrors) v0.0.0-20190717185122-a985d3407aa7  
go: finding [github.com/jackc/pgtype](http://github.com/jackc/pgtype) v1.3.0  
go: finding [github.com/jackc/pgservicefile](http://github.com/jackc/pgservicefile) v0.0.0-20200307190119-3430c5407db8  
go: finding [golang.org/x/crypto](http://golang.org/x/crypto) v0.0.0-20200323165209-0ec3e9974c59  
go: finding [golang.org/x/text](http://golang.org/x/text) v0.3.2

The module builds fine but nakama 2.9.0 is still rejecting it due to the crypto/pbkdf2 version.

---

<div class="post-metadata">

**Author:** ![novabyte](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/novabyte/32/1324_2.png) [@novabyte](https://forum.heroiclabs.com/u/novabyte)\
**Post date:** [April 24, 2020, 4:26am UTC](https://forum.heroiclabs.com/t/problem-reverting-to-previous-nakama-runtime/674/3 "2020-04-24T04:26:51Z")

</div>

@oscargoldman You will need to run at least these two commands from the Go toolchain:

```shell
env GO111MODULE=on go clean -modcache
env GO111MODULE=on go mod tidy

```

If this does not resolve the issue you’ll need to share your modfile to understand what dependencies you have which could have transitively changed when you updated to the latest `nakama-common` Go package.
