node-bbs-signatures icon indicating copy to clipboard operation
node-bbs-signatures copied to clipboard

node-bbs-signatures installation fails on windows

Open Veerendra-b opened this issue 3 years ago • 10 comments

Hi Team, We see below error while installing node-bbs-signatures in windows.. Looks like there is no tarball for windows (node-v83-win32-x64.tar.gz) at the location https://github.com/mattrglobal/node-bbs-signatures/releases/

Is there a plan to release a tarball for windows or is there an alternate way to make it work on windows?

------> Logs<------- node-pre-gyp ERR! cwd C:\UserSpace\Sources\src\lib\node_modules@mattrglobal\node-bbs-signatures node-pre-gyp ERR! node -v v14.17.5 node-pre-gyp ERR! node-pre-gyp -v v0.17.0 node-pre-gyp ERR! not ok 404 status code downloading tarball https://github.com/mattrglobal/node-bbs-signatures/releases/download/0.12.0/node-v83-win32-x64.tar.gz npm WARN [email protected] No repository field. npm WARN [email protected] No license field. npm ERR! code ELIFECYCLE

Veerendra-b avatar Nov 29 '21 07:11 Veerendra-b

Hi @Veerendra-b thanks for raising, appears there is an issue with binary publishing for windows based version in our GH action, I will look into this and get back to you

tplooker avatar Dec 01 '21 09:12 tplooker

@tplooker any update? Our devs are using node-bbs on either osx, linux & win32. v0.11 doesnt exist for osx and >v0.11 doesnt work for win32. we are properly stuck. is there anything we can help with?

sloops77 avatar Apr 11 '22 07:04 sloops77

@sloops77 what version of NodeJS are you running?

tplooker avatar Apr 11 '22 08:04 tplooker

Same issue here npm ERR! response status 404 Not Found on https://github.com/mattrglobal/node-bbs-signatures/releases/download/0.13.0/node-v93-win32-x64.tar.gz

Using Node v16.15.0

Eicoon avatar May 02 '22 08:05 Eicoon

404 status code downloading tarball https://github.com/mattrglobal/node-bbs-signatures/releases/download/0.11.0/node-v93-darwin-x64.tar.gz

Sean-Snow avatar May 12 '22 13:05 Sean-Snow

let me join the party

node-pre-gyp ERR! System Linux 5.10.102.1-microsoft-standard-WSL2
node-pre-gyp ERR! cwd /workspaces/crypto/node_modules/@mattrglobal/node-bbs-signatures
node-pre-gyp ERR! node -v v18.0.0
node-pre-gyp ERR! node-pre-gyp -v v0.17.0
node-pre-gyp ERR! not ok 
404 status code downloading tarball https://github.com/mattrglobal/node-bbs-signatures/releases/download/0.13.0/node-v108-linux-x64.tar.gz"

keydon avatar Jun 14 '22 16:06 keydon

same issue on Mac:

node-pre-gyp http GET https://github.com/mattrglobal/node-bbs-signatures/releases/download/0.11.0/node-v93-darwin-x64.tar.gz
node-pre-gyp http 404 https://github.com/mattrglobal/node-bbs-signatures/releases/download/0.11.0/node-v93-darwin-x64.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-x64.tar.gz

AlexMesser avatar Aug 03 '22 15:08 AlexMesser

Hey @tplooker i've overlooked this issue for while.

We would love to start using bbs sigs but for that to happen we need a lot more build versions that are being built and released. From viewing here https://github.com/mattrglobal/node-bbs-signatures/releases I can see that there are issues with

for v0.11 which is a dependency of @transmute/did-key and @decentralized-identity/ion-tools. Missing are

  • v93 for all platforms (node 16 - which is LTS)

for > v.0.11 which we can hardcode the resolution to to fix the v93 problems. Missing are:

  • win32-x64
  • linux-arm64. (The latter is needed for people using docker on newer macs or an arm linux on the aws, etc)

Im happy to help out if you can give me some pointers

sloops77 avatar Aug 22 '22 23:08 sloops77

Hi all, the latest release supports both Node v14 and v16 on linux and macos (including arm based architecture) the problem with windows based releases is due to an unresolved issue in Neon. We are exploring future possible releases of the library that moves away from neon because it is now an unmaintained project.

tplooker avatar Aug 23 '22 00:08 tplooker

same issue on Mac:

node-pre-gyp http GET https://github.com/mattrglobal/node-bbs-signatures/releases/download/0.11.0/node-v93-darwin-x64.tar.gz
node-pre-gyp http 404 https://github.com/mattrglobal/node-bbs-signatures/releases/download/0.11.0/node-v93-darwin-x64.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-x64.tar.gz

@Sean-Snow @AlexMesser arm based binaries were added in v0.15.0 updating to that version should resolve your issue.

tplooker avatar Aug 23 '22 00:08 tplooker

Closing this issue as it appears resolved in the latest release, reopen if required.

tplooker avatar Dec 12 '22 01:12 tplooker

Not sure if that assessment is correct. The original ticket was about Windows builds.

With the latest release on Node16 on Windows you still get: node-pre-gyp ERR! stack Error: response status 404 Not Found on https://github.com/mattrglobal/node-bbs-signatures/releases/download/0.15.0/node-v93-win32-x64.tar.gz

Which makes sense as the binaries for Windows indeed aren't present.

So it seems the neon migration is needed for Windows builds

nklomp avatar Dec 16 '22 12:12 nklomp