uport-project / ethr-did

Create ethr DIDs
Apache License 2.0
263 stars 54 forks source link

[BUG] Cannot read properties of undefined (reading 'getResolver') when installing on new React app with Vite #120

Open andrascodes opened 1 year ago

andrascodes commented 1 year ago

Current Behavior

What is the current behavior? Getting the error: Cannot read properties of undefined (reading 'getResolver') when importing ethr-did in a completely new React app generated with create vite.

Expected Behavior

No errors

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. npm create vite@latest
  2. npm i ethr-did
  3. npm run dev

Environment Details

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Failure Logs/Screenshots

image

nacho-villanueva commented 11 months ago

Any updates on this? I have the same problem.

nacho-villanueva commented 11 months ago

This seems to be an ethr-did-resolver bug

https://github.com/decentralized-identity/ethr-did-resolver/issues/186