Skip to content

Build and run indexer with docker #3326

@reza3270

Description

@reza3270

I want to run the indexer using Docker. So far, I have successfully run a node with Docker, and now I want to run the indexer services alongside the node.

I cloned the repository and followed the steps in the README file, but I encounter an error during the build step. What do I need to do to fix this?

Scope: all 20 workspace projects packages/dev build$ rm -rf build/ && tsc │ ../../node_modules/.pnpm/@types+ws@8.5.10/node_modules/@types/ws/index.d.ts(321,18): error TS2315: Type 'Server' is not generic. │ ../../node_modules/.pnpm/@types+ws@8.5.10/node_modules/@types/ws/index.d.ts(321,34): error TS2315: Type 'Server' is not generic. └─ Failed in 4.3s /root/v4-chain/indexer/packages/dev:  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @dydxprotocol-indexer/dev@0.0.1 build: rm -rf build/ && tsc Exit status 2  ELIFECYCLE  Command failed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions