Closed myarasi8 closed 8 months ago
Hi @myarasi8, this is currently unsupported. Similar issue https://github.com/dapr/js-sdk/issues/473
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.
I am creating a react application that I need to invoke dapr using the JavaScript SDK as described here:
https://docs.dapr.io/developing-applications/sdks/js/js-client/
I am trying to invoke dapr from the client side in my App.js file like so:
When I do this however I got a lot of errors like this:
Is this because the version of webpack I'm using ( ^5.88.2) isn't compactable with the version of dapr I'm using ( ^3.1.2). Or is it because I have the dapr code in App.js (client-side)? I don't currently have anything setup for server side JavaScript. I assume since this is Dapr's client side SDK I should be able to put the code in the front-end.
Please let me know if I'm missing something.
Thank you!