-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
- Commands like
yarn ts-node --esm ./src/list-identifiers.ts
should be changed with
yarn node --loader ts-node/esm ./src/list-identifiers.ts - There are errors in imported libraries, for example:
file:///home/xx/veramo-nodejs-tutorial/node_modules/@veramo/did-manager/build/id-manager.js:1
import schema from '@veramo/core-types/build/plugin.schema.json' assert { type: 'json' };
^^^^^^
SyntaxError: Unexpected identifier 'assert'
at compileSourceTextModule (node:internal/modules/esm/utils:317:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:111:18)
at #translate (node:internal/modules/esm/loader:541:20)
at afterLoad (node:internal/modules/esm/loader:594:29)
Node.js v24.11.1
gertjandemulder
Metadata
Metadata
Assignees
Labels
No labels