I'm running my TypeScript project with ts-node, and I'm getting the following error in the generated timestamp.js from jito-ts:
TypeError: Cannot read properties of undefined (reading 'util')
at timestamp.js:86:23
// offending line:
if (minimal_1.default.util.Long !== long_1.default) {
minimal_1.default is undefined, even though protobufjs/minimal is correctly installed.
The esModuleInterop flag is enabled in my tsconfig.json.
This setup used to work — possibly this is related to a recent update of protobufjs or Node?
Thanks in advance!
I'm running my TypeScript project with ts-node, and I'm getting the following error in the generated timestamp.js from jito-ts:
minimal_1.default is undefined, even though protobufjs/minimal is correctly installed.
The esModuleInterop flag is enabled in my tsconfig.json.
This setup used to work — possibly this is related to a recent update of protobufjs or Node?
Thanks in advance!