Hello,
I encountered an issue when trying to import the @transmute/did-key-ed25519 module in Node.js v22.2.0. The following error occurs:
TypeError: Function.prototype.apply was called on undefined, which is a undefined and not a function
However, the same import works successfully in Node.js v18.7.0 without any errors.
Steps to Reproduce:
Create a file named testED26619.js with the following content:
import * as ed25519 from "@transmute/did-key-ed25519";
Run the file using Node.js v22.2.0:
Observe the TypeError mentioned above.
Expected Behavior:
The module should be imported successfully without any errors, as it does in Node.js v18.7.0.
Actual Behavior:
The following TypeError is thrown:
TypeError: Function.prototype.apply was called on undefined, which is a undefined and not a function
Environment:
Node.js version: v22.2.0
Operating System: MacOS
@transmute/did-key-ed25519 version: "@transmute/did-key-ed25519": "^0.3.0-unstable.10",
Additional Information:
The issue does not occur in Node.js v18.7.0, where the import works as expected.
Thank you for your assistance in resolving this issue.
Hello,
I encountered an issue when trying to import the @transmute/did-key-ed25519 module in Node.js v22.2.0. The following error occurs:
TypeError: Function.prototype.apply was called on undefined, which is a undefined and not a functionHowever, the same import works successfully in Node.js v18.7.0 without any errors.
Steps to Reproduce:
Create a file named
testED26619.jswith the following content:Run the file using Node.js v22.2.0:
Observe the TypeError mentioned above.
Expected Behavior:
The module should be imported successfully without any errors, as it does in Node.js v18.7.0.
Actual Behavior:
The following TypeError is thrown:
TypeError: Function.prototype.apply was called on undefined, which is a undefined and not a functionEnvironment:
Node.js version: v22.2.0
Operating System: MacOS
@transmute/did-key-ed25519 version: "@transmute/did-key-ed25519": "^0.3.0-unstable.10",
Additional Information:
The issue does not occur in Node.js v18.7.0, where the import works as expected.
Thank you for your assistance in resolving this issue.