-
Notifications
You must be signed in to change notification settings - Fork 196
Description
(node:87250) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
[14:36:19.291] INFO: Testing helper scripts...
(node:87288) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
[14:36:20.841] INFO: ts-node wrap_sol.js --size
[14:36:21.807] INFO: ts-node unwrap_sol.js
[14:36:21.963] INFO: Testing Meteora scripts...
[14:36:22.904] INFO: ts-node buy --token <ADDRESS_TOKEN> --sol <NUMBER_OF_SOL>
[14:36:23.994] INFO: ts-node sell --token <ADDRESS_TOKEN> --percentage <SELL_PERCENTAGE>
[14:36:24.224] INFO: Testing Orca scripts...
bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)
[14:36:25.555] INFO: ts-node buy --token <ADDRESS_TOKEN> --sol <NUMBER_OF_SOL>
bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)
[14:36:27.003] INFO: ts-node sell --token <ADDRESS_TOKEN> --percentage <SELL_PERCENTAGE>
[14:36:27.371] INFO: Testing Raydium scripts...
bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)
[14:36:29.279] INFO: ts-node buy --token <ADDRESS_TOKEN> --sol <NUMBER_OF_SOL>
bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)
[14:36:30.982] INFO: ts-node sell --token <ADDRESS_TOKEN> --percentage <SELL_PERCENTAGE>
[14:36:31.161] INFO: Testing Pumpfun scripts...
/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:859
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
^
TSError: ⨯ Unable to compile TypeScript:
src/pumpfunsdk/pumpdotfun-sdk/src/pumpfun.ts:47:27 - error TS2344: Type 'PumpFun' does not satisfy the constraint 'Idl'.
Type 'PumpFun' is missing the following properties from type 'Idl': version, name
47 public program: Program;
~~~~~~~
src/pumpfunsdk/pumpdotfun-sdk/src/pumpfun.ts:50:32 - error TS2344: Type 'PumpFun' does not satisfy the constraint 'Idl'.
Type 'PumpFun' is missing the following properties from type 'Idl': version, name
50 this.program = new Program(IDL as PumpFun, provider);
~~~~~~~
at createTSError (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:859:12)
at reportTSError (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:863:19)
at getOutput (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:1077:36)
at Object.compile (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:1433:41)
at Module.m._compile (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:1617:30)
at Module._extensions..js (node:internal/modules/cjs/loader:1518:10)
at Object.require.extensions.<computed> [as .ts] (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:1621:12)
at Module.load (node:internal/modules/cjs/loader:1249:32)
at Function.Module._load (node:internal/modules/cjs/loader:1065:12)
at Module.require (node:internal/modules/cjs/loader:1271:19) {
diagnosticCodes: [ 2344, 2344 ]
}
/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:859
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
^
TSError: ⨯ Unable to compile TypeScript:
src/pumpfunsdk/pumpdotfun-sdk/src/pumpfun.ts:47:27 - error TS2344: Type 'PumpFun' does not satisfy the constraint 'Idl'.
Type 'PumpFun' is missing the following properties from type 'Idl': version, name
47 public program: Program;
~~~~~~~
src/pumpfunsdk/pumpdotfun-sdk/src/pumpfun.ts:50:32 - error TS2344: Type 'PumpFun' does not satisfy the constraint 'Idl'.
Type 'PumpFun' is missing the following properties from type 'Idl': version, name
50 this.program = new Program(IDL as PumpFun, provider);
~~~~~~~
at createTSError (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:859:12)
at reportTSError (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:863:19)
at getOutput (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:1077:36)
at Object.compile (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:1433:41)
at Module.m._compile (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:1617:30)
at Module._extensions..js (node:internal/modules/cjs/loader:1518:10)
at Object.require.extensions.<computed> [as .ts] (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:1621:12)
at Module.load (node:internal/modules/cjs/loader:1249:32)
at Function.Module._load (node:internal/modules/cjs/loader:1065:12)
at Module.require (node:internal/modules/cjs/loader:1271:19) {
diagnosticCodes: [ 2344, 2344 ]
}
/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:859
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
^
TSError: ⨯ Unable to compile TypeScript:
src/pumpfunsdk/pumpdotfun-sdk/src/pumpfun.ts:47:27 - error TS2344: Type 'PumpFun' does not satisfy the constraint 'Idl'.
Type 'PumpFun' is missing the following properties from type 'Idl': version, name
47 public program: Program;
~~~~~~~
src/pumpfunsdk/pumpdotfun-sdk/src/pumpfun.ts:50:32 - error TS2344: Type 'PumpFun' does not satisfy the constraint 'Idl'.
Type 'PumpFun' is missing the following properties from type 'Idl': version, name
50 this.program = new Program(IDL as PumpFun, provider);
~~~~~~~
at createTSError (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:859:12)
at reportTSError (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:863:19)
at getOutput (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:1077:36)
at Object.compile (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:1433:41)
at Module.m._compile (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:1617:30)
at Module._extensions..js (node:internal/modules/cjs/loader:1518:10)
at Object.require.extensions.<computed> [as .ts] (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/src/index.ts:1621:12)
at Module.load (node:internal/modules/cjs/loader:1249:32)
at Function.Module._load (node:internal/modules/cjs/loader:1065:12)
at Module.require (node:internal/modules/cjs/loader:1271:19) {
diagnosticCodes: [ 2344, 2344 ]
}
node:internal/modules/cjs/loader:1189
throw err;
^
Error: Cannot find module './copy-trade.ts'
Require stack:
- /Users/jimmy/Documents/jimmy/solanabot/newbot/solana-trading-cli/src/grpc_streaming_dev/grpc-copy-bot/src/streaming/imaginaryUncacheableRequireResolveScript
at Module._resolveFilename (node:internal/modules/cjs/loader:1186:15)
at Function.resolve (node:internal/modules/helpers:133:19)
at requireResolveNonCached (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/dist/bin.js:549:16)
at getProjectSearchDir (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/dist/bin.js:519:40)
at phase3 (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/dist/bin.js:267:27)
at bootstrap (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/dist/bin.js:47:30)
at main (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/dist/bin.js:33:12)
at Object. (/Users/jimmy/.nvm/versions/node/v22.2.0/lib/node_modules/ts-node/dist/bin.js:579:5)
at Module._compile (node:internal/modules/cjs/loader:1434:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1518:10) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/jimmy/Documents/jimmy/solanabot/newbot/solana-trading-cli/src/grpc_streaming_dev/grpc-copy-bot/src/streaming/imaginaryUncacheableRequireResolveScript'
]
}
Node.js v22.2.0