I have a postman collection with a pre-request and post-request script. It had worked up until some time around the beginning of this year.
We started getting the Cannot read properties of undefined (reading 'sigBytes')" error after doing a regular update to postman.
I have found little to no help in postman forums for this. We are using crypto-js and have it required in the script…“const cryptojs = require('crypto-js');”.
We were hoping it may resolve itself through the next couple of updates but that has passed and the error is still there.
Just to help narrow things down, are you using any of the HMAC functions from crypto-js? If so, could you double-check that the second argument (“key”) being passed to it is not undefined?