Picolab / indy-sdk

Apache License 2.0
2 stars 1 forks source link

CommonIOError #2

Closed stachen closed 6 years ago

stachen commented 6 years ago

Hi again,

I was trying to rebuild another dev environment with Ubuntu. I ran into this issue that I think I've seen before but couldn't quite remember what I did to resolve this.

Any idea how to debug this CommonIOError?

ubuntudev@ubuntudev-vm:~/git/github.com/Picolab/indy-sdk/wrappers/nodejs$ ava tests/wallet.js 

  1 failed

  wallet

  /home/ubuntudev/git/github.com/Picolab/indy-sdk/wrappers/nodejs/src/wrapIndyCallback.js:15

   14:     if (err) {              
   15:       cb(new IndyError(err))
   16:       return                

  Rejected promise returned by test. Reason:

  IndyError {
    indyCode: 114,
    indyName: 'CommonIOError',
    message: 'CommonIOError',
    name: 'IndyError',
  }

Again, thanks a bunch

stachen commented 6 years ago

Looks like I found the answer to my question lol

Ran these commands required for building out the SDK binaries

apt-get update && \
apt-get install -y \
   build-essential \
   pkg-config \
   cmake \
   libssl-dev \
   libsqlite3-dev \
   libsodium-dev

Source: https://github.com/hyperledger/indy-sdk/blob/master/doc/ubuntu-build.md And the test would then work! Wondering which is the necessary one.