Skip to content

I'm facing issue with cannot import and use it. #52

@ThomasLuuu

Description

@ThomasLuuu

error: Error: While trying to resolve module @digitalbazaar/did-method-key from file C:\Users\***\Work\***\app\lib\did.ts, the package C:\Users\***\Work\***\\node_modules\@digitalbazaar\did-method-key\package.json was s
uccessfully 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:

  • C:\Users*\Work*\node_modules@digitalbazaar\did-method-key\index(.native|.android.jsx|.native.jsx|.jsx|.android.js|.native.js|.js|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.cjs|.native.cjs|.cjs|.
  • C:\Users*\Work*\node_modules@digitalbazaar\did-method-key\index\index(.native|.android.jsx|.native.jsx|.jsx|.android.js|.native.js|.js|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.cjs|.native.cjs|
    .cjs|.android.json|.native.json|.json)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions