Skip to content

Generating Refund Transaction Fails #910

@kjk11

Description

@kjk11

I have a failed mint that I would like to generate the recovery transaction for. However, the TypeScript called by refund.sh throws a compilation error:

/home/klc73/tbtc-v2/typescript/node_modules/ts-node/src/index.ts:859
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
^
TSError: ⨯ Unable to compile TypeScript:
src/lib/ethereum/bridge.ts:6:8 - error TS2307: Cannot find module '../../../typechain/Bridge' or its corresponding type declarations.

6 } from "../../../typechain/Bridge"
~~~~~~~~~~~~~~~~~~~~~~~~~~~

at createTSError (/home/klc73/tbtc-v2/typescript/node_modules/ts-node/src/index.ts:859:12)
at reportTSError (/home/klc73/tbtc-v2/typescript/node_modules/ts-node/src/index.ts:863:19)
at getOutput (/home/klc73/tbtc-v2/typescript/node_modules/ts-node/src/index.ts:1077:36)
at Object.compile (/home/klc73/tbtc-v2/typescript/node_modules/ts-node/src/index.ts:1433:41)
at Module.m._compile (/home/klc73/tbtc-v2/typescript/node_modules/ts-node/src/index.ts:1617:30)
at node:internal/modules/cjs/loader:1893:10
at Object.require.extensions.<computed> [as .ts] (/home/klc73/tbtc-v2/typescript/node_modules/ts-node/src/index.ts:1621:12)
at Module.load (node:internal/modules/cjs/loader:1480:32)
at Module._load (node:internal/modules/cjs/loader:1299:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14) {

diagnosticCodes: [ 2307 ]
}
error Command failed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions