Dies ist index.ts
`
Code: Select all
import {ethers} from "ethers";
import {ApiKeyCreds, ClobClient, OrderType, Side} from "@polymarket/clob-client";
console.log("Hello world")
package.json
`
Code: Select all
{
"name": "polymarket",
"version": "1.0.0",
"description": "",
"main": "dist/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "ts-node src/index.ts",
"start": "node dist/index.js"
},
"keywords": [],
"author": "Kharay 33455",
"license": "ISC",
"dependencies": {
"@polymarket/clob-client": "^5.1.0",
"@types/node": "^25.0.0",
"ethers": "^6.16.0",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
}
}
tsconfig.json
`
Code: Select all
{
"compilerOptions": {
"target": "ES2020",
"module": "CommonJS",
"rootDir": "./src",
"outDir": "./dist",
"strict": true,
"esModuleInterop": true
}
}
Ich habe versucht, es zu deinstallieren und neu zu installieren
Einen Typordner erstellen und exportieren.
Globale Installation
Ich kann es immer noch nicht finden. Jeder Rat in die richtige Richtung würde wirklich helfen
Mobile version