ethr-did
ethr-did copied to clipboard
[BUG] No "exports" main defined in uint8arrays/package.json
Prerequisites
Please answer the following questions for yourself before submitting an issue.
- [x] I am running the latest version
- [x] I checked the documentation and found no answer
- [x] I checked to make sure that this issue has not already been filed
YOU MAY DELETE THE PREREQUISITES SECTION if you're sure you checked all the boxes.
Current Behavior
What is the current behavior?
keep saying this:
my code:
import { EthrDID } from 'ethr-did'
console.log(new EthrDID({ identifier: '0xb9c5714089478a327f09197987f16f9e5d936e8a', chainNameOrId: 'mainnet' }).did)
Expected Behavior
Please describe the behavior you are expecting
Failure Information
Please help provide information about the failure.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
- step 1: npm init -y
- step 2: npx tsc --init
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 v20, v18 all can reproduce this issue.
- OS Version: windows 20
- Device details: windows 20
Failure Logs/Screenshots
Please include any relevant log snippets or files here. Create a GIST which is a paste of your full or sanitized logs, and link them here. Please do NOT paste your full logs here, as it will make this issue very long and hard to read!
Alternatives you considered
Please provide details about an environment where this bug does not occur.
Don't paste private keys anywhere public!