-
Notifications
You must be signed in to change notification settings - Fork 88
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
Next.js DaprServer Module not found: Can't resolve 'crypto' #584
Comments
This is not helpful; I am using the instrumentation.ts method with Next.js 14 to start the Dapr server. This is a minimal repo: https://github.com/majian159/dapr-server-example |
Thanks for sharing this @majian159, I am out this week but I/someone will check this soon. |
@shubham1172 My latest pull request replaces the crypto module with crypto. This change will benefit all runtimes compliant with the WinterCG specification (including Next.js Edge Runtime). |
This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 67 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions. |
Expected Behavior
Actual Behavior
I'm attempting to start the DaprServer in instrumentation.ts in a Next.js project, but it's throwing an exception:
The code is as follows:
Steps to Reproduce the Problem
The text was updated successfully, but these errors were encountered: