Skip to content
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

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

Open
andrascodes opened this issue Sep 27, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@andrascodes
Copy link

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.

  • node/browser version: Node v18.16.1, "vite": "^4.4.5", "react": "^18.2.0", "@nx/react": "16.9.0"

Failure Logs/Screenshots

image

@andrascodes andrascodes added the bug Something isn't working label Sep 27, 2023
@nacho-villanueva
Copy link

Any updates on this? I have the same problem.

@nacho-villanueva
Copy link

This seems to be an ethr-did-resolver bug

decentralized-identity/ethr-did-resolver#186

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants