You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After upgrading from aws-jwt-verify from 2.1.3 to 3.0.0 I receive following stacktrace when executing a sample jest test:
jwtVerifier.spec.ts
● Test suite failed to run
Cannot find module '#node-web-compat' from '../../node_modules/aws-jwt-verify/dist/cjs/https.js'
Require stack:
..../node_modules/aws-jwt-verify/dist/cjs/https.js
..../node_modules/aws-jwt-verify/dist/cjs/jwk.js
..../node_modules/aws-jwt-verify/dist/cjs/jwt-rsa.js
..../node_modules/aws-jwt-verify/dist/cjs/index.js
Versions
Which version of aws-jwt-verify are you using? 3.0.0
Are you using the library in Node.js or in the Web browser? Node.js
If Node.js, which version of Node.js are you using? (Should be at least 14) 14 / 17
If Web browser, which web browser and which version of it are you using?
If using TypeScript, which version of TypeScript are you using? (Should be at least 4) 4.6.3
To Reproduce
If you can, please provide a minimal code example that reproduces the bug.
Currently I dont have a minimal code example.
The text was updated successfully, but these errors were encountered:
Describe the bug
After upgrading from aws-jwt-verify from 2.1.3 to 3.0.0 I receive following stacktrace when executing a sample jest test:
Versions
Which version of
aws-jwt-verify
are you using? 3.0.0Are you using the library in Node.js or in the Web browser? Node.js
If Node.js, which version of Node.js are you using? (Should be at least 14) 14 / 17
If Web browser, which web browser and which version of it are you using?
If using TypeScript, which version of TypeScript are you using? (Should be at least 4) 4.6.3
To Reproduce
If you can, please provide a minimal code example that reproduces the bug.
Currently I dont have a minimal code example.
The text was updated successfully, but these errors were encountered: