Skip to content

Build fail #1

@addicttocrypto

Description

@addicttocrypto

Hello,

I'm trying to use the projet but I'm getting these errors on build :

npm run build

polymarket-copy-trading-bot@1.0.0 build
tsc
src/modules/services/createClobClient.ts:2:10 - error TS2305: Module '"@polymarket/clob-client"' has no exported member 'createClobClient'.
2 import { createClobClient as createClient, ClobClient } from '@polymarket/clob-client';
~~~~~~~~~~~~~~~~
src/modules/services/tradeExecutor.ts:26:63 - error TS2339: Property 'wallet' does not exist on type 'ClobClient'.
26 const yourUsdBalance = await getUsdBalanceApprox(client.wallet);
~~~~~~
Found 2 errors in 2 files.

Is there any way to fix this ?

Thank you !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions