Skip to content

As is: Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: ... #29

@TerasakaKazuma

Description

@TerasakaKazuma

I am trying to implement in the backend Nestjs to create a UCAN token.

However, I have a problem with the


import { KeyPair } from 'ucan-storage/keypair’;

I can't get the import to work.


Error [ERR_REQUIRE_ESM]: Must use import to load ES Module:

error occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cicReview in weekly Community Issue Crush session

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions