ethr-did icon indicating copy to clipboard operation
ethr-did copied to clipboard

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

Open andrascodes opened this issue 9 months ago • 2 comments

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 avatar Sep 27 '23 22:09 andrascodes