hyperledger / anoncreds-rs

anoncreds-rs
https://wiki.hyperledger.org/display/anoncreds
Apache License 2.0
74 stars 55 forks source link

@hyperledger/anoncreds-nodejs invalid reference to binary v0.2.0-dev.5 #270

Closed cvarjao closed 1 year ago

cvarjao commented 1 year ago

It seems like v0.2.0-dev.5 created a tag as v0.2.0-5 (instead of v0.2.0-dev.5?) which generated an invalid reference

https://github.com/hyperledger/anoncreds-rs/blob/d87d60a887a80b709dda4ab5b52af2ebe7c7630a/wrappers/javascript/packages/anoncreds-nodejs/package.json#L46

When trying to build AFJ it produces an error:

node-pre-gyp info check checked for "/work/aries-framework-javascript/node_modules/@hyperledger/anoncreds-nodejs/native/anoncreds.node" (not found)
node-pre-gyp http GET https://github.com/hyperledger/anoncreds-rs/releases/download/v0.2.0-dev.5/library-linux-x86_64.tar.gz
node-pre-gyp ERR! install response status 404 Not Found on https://github.com/hyperledger/anoncreds-rs/releases/download/v0.2.0-dev.5/library-linux-x86_64.tar.gz 
node-pre-gyp ERR! install error 
node-pre-gyp ERR! stack Error: response status 404 Not Found on https://github.com/hyperledger/anoncreds-rs/releases/download/v0.2.0-dev.5/library-linux-x86_64.tar.gz
node-pre-gyp ERR! stack     at /work/aries-framework-javascript/node_modules/@mapbox/node-pre-gyp/lib/install.js:67:15
node-pre-gyp ERR! stack     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
berendsliedrecht commented 1 year ago

Fixed, https://github.com/hyperledger/anoncreds-rs/releases/download/v0.2.0-dev.5/library-linux-x86_64.tar.gz works now.