transmute-industries / did-key.js

A DID Key Implementation in TypeScript
https://did.key.transmute.industries/
Apache License 2.0
53 stars 15 forks source link

Upgrade node-bbs-signatures #222

Open dholms opened 2 years ago

dholms commented 2 years ago

This library has a dependency on node-bbs-signatures that is hard coded at 0.11.0 which is not built for the m1.

They've fixed this issue in 0.13.0.

https://github.com/mattrglobal/node-bbs-signatures/issues/173

Exit code: 1
Command: node-pre-gyp install --fallback-to-build=false
Arguments:
Directory: .../node_modules/@mattrglobal/node-bbs-signatures
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.14.0
node-pre-gyp info using node@16.15.0 | darwin | arm64
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp http GET https://github.com/mattrglobal/node-bbs-signatures/releases/download/0.11.0/node-v93-darwin-arm64.tar.gz
node-pre-gyp http 404 https://github.com/mattrglobal/node-bbs-signatures/releases/download/0.11.0/node-v93-darwin-arm64.tar.gz
node-pre-gyp ERR! install error
node-pre-gyp ERR! stack Error: 404 status code downloading tarball https://github.com/mattrglobal/node-bbs-signatures/releases/download/0.11.0/node-v93-darwin-arm64.tar.gz
node-pre-gyp ERR! stack     at Request.emit (node:events:539:35)
node-pre-gyp ERR! stack     at ClientRequest.emit (node:events:527:28)
node-pre-gyp ERR! stack     at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:631:27)
node-pre-gyp ERR! stack     at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
node-pre-gyp ERR! stack     at TLSSocket.socketOnData (node:_http_client:494:22)
node-pre-gyp ERR! stack     at TLSSocket.emit (node:events:527:28)
node-pre-gyp ERR! stack     at addChunk (node:internal/streams/readable:315:12)
node-pre-gyp ERR! stack     at readableAddChunk (node:internal/streams/readable:289:9)
node-pre-gyp ERR! System Darwin 21.3.0
node-pre-gyp ERR! node -v v16.15.0
node-pre-gyp ERR! node-pre-gyp -v v0.14.0