-
Notifications
You must be signed in to change notification settings - Fork 10
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
I'm facing issue with cannot import and use it. #52
Comments
There's no https://github.com/digitalbazaar/did-method-key/blob/main/package.json#L21 Are you using an older version? If so, please try upgrading to the latest to see if it resolves your problem. |
I'm using the latest version of the package. |
It looks like the error message that's coming from whatever you're using to try and load the package is incorrect. There's no |
I saw that other packages also have exports and they all work fine. I don't know where the problem comes from. |
error: Error: While trying to resolve module
@digitalbazaar/did-method-key
from fileC:\Users\***\Work\***\app\lib\did.ts
, the packageC:\Users\***\Work\***\\node_modules\@digitalbazaar\did-method-key\package.json
was successfully found. However, this package itself specifies a
main
module field that could not be resolved (C:\Users\***\\Work\***\\node_modules\@digitalbazaar\did-method-key\index
. Indeed, none of these files exist:.cjs|.android.json|.native.json|.json)
The text was updated successfully, but these errors were encountered: