Open tusharsurjuse opened 3 weeks ago
@tusharsurjuse thanks for reporting the issue. If possible could you please share a simplified project that reproduces this?
It looks like the error is thrown from jsonwebtoken.sign
, where it expects KeyObject
from crypto
. Are you running your app in an environment other than NodeJS?
An error occurred: TypeError: Right-hand side of 'instanceof' is not an object at push.66071.module.exports [as sign] (sign.js:114:57) at Object.sendRequest (webPubSubCredentialPolicy.js:17:33) at pipeline.js:51:31 at generatedClient.js:65:24 at Generator.next ()
at asyncGeneratorStep (asyncToGenerator.js:3:1)
at _next (asyncToGenerator.js:17:1)
at asyncToGenerator.js:22:1
at new ZoneAwarePromise (zone.js:2702:25)
at asyncToGenerator.js:14:1