-
-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module '"crypto"' has no default export #291
Comments
Might be a tooling issue. Based on what's in the issue i can't help, nor can i reproduce. |
Thanks for the swift response but not sure what you mean by tooling, this is a nodejs environment and dependencies are built the same throughout its framework counterparts. If it helps this is typescript. But i noticed your library does support types so not sure what is the issue. |
I’m no ts expert but both jose (in its types) and crypto (through @types/node) do have default exports. Hence me saying this is likely a tooling issue on your end, a tsconfig one maybe? |
I've pushed a small change, see if it helps. |
I was about to do a pull request for this. Thanks. |
Expected behaviour
Not throw an error when program starts.
Environment:
Nestjs 7
"openid-client": "^4.1.0",
node v12.18.3
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: