Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

setProtocolVersion is not a function #899

Closed
phillipgibb opened this issue Jun 24, 2018 · 2 comments
Closed

setProtocolVersion is not a function #899

phillipgibb opened this issue Jun 24, 2018 · 2 comments

Comments

@phillipgibb
Copy link
Contributor

OS: MAC OS X
Running getting started node.js sample:

TypeError: indy.setProtocolVersion is not a function

If I do not set the protocol function:

Pool worker thread finished with error PoolIncompatibleProtocolVersion("Libindy PROTOCOL_VERSION is 1 but Pool Genesis Transactions are of version 1.4.Call indy_set_protocol_version(2) to set correct PROTOCOL_VERSION")

@vimmerru
Copy link

You have 2 options:

  1. Don't use the latest master of Indy Node (use latest stable)
  2. Build node.js wrappepr manually from sources. We don't have CD pipeline and npm will be updated in about one week after 1.5 libindy release.

@phillipgibb
Copy link
Contributor Author

Thanks, I have built from source and have gotten past this error.

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

No branches or pull requests

2 participants