bitcore icon indicating copy to clipboard operation
bitcore copied to clipboard

npm run build fail

Open Lbt777 opened this issue 3 years ago • 2 comments

node v16.13.0 `1) ECDSA signing and verification #verify should verify a valid signature, and unverify an invalid signature: TypeError: Cannot read properties of undefined (reading 'gt') at ECDSA.sigError (lib\crypto\ecdsa.js:168:11) at ECDSA.verify (lib\crypto\ecdsa.js:271:13) at Function.ECDSA.verify (lib\crypto\ecdsa.js:293:6) at Context. (test\crypto\ecdsa.js:261:15) at callFn ([email protected]@mocha\lib\runnable.js:387:21) at Test.Runnable.run ([email protected]@mocha\lib\runnable.js:379:7) at C:\Users\Administrator\Desktop\bitcore-lib\[email protected]@mocha\lib\runner.js:653:12 at next ([email protected]@mocha\lib\runner.js:447:14) at C:\Users\Administrator\Desktop\bitcore-lib\[email protected]@mocha\lib\runner.js:457:7 at next ([email protected]@mocha\lib\runner.js:362:14) at Immediate._onImmediate ([email protected]@mocha\lib\runner.js:425:5) at processImmediate (node:internal/timers:464:21)

[09:39:02] 'testmocha' errored after 15 s [09:39:02] Error in plugin "gulp-mocha" Message: There were test failures Details: domainEmitter: [object Object] domainThrown: false

[09:39:02] 'default' errored after 15 s`

Lbt777 avatar Nov 01 '22 01:11 Lbt777

Please try with Node v12. We haven't added support for v16 yet

kajoseph avatar Nov 01 '22 01:11 kajoseph

Please try with Node v12. We haven't added support for v16 yet The same question How to solve the problem thanks

image

Lbt777 avatar Nov 01 '22 01:11 Lbt777