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.